Store
|
Contact Us
|
Careers
Home
Industries
Products
Training
Support
Services
Events
News
About
About Esri
Careers
Esri Video
Partners
Support
Search Support
You are here: >
ArcScripts
>
Search Results
> Script Details
Login
|
Feedback
|
Help
Split Layer By Attributes
contact author
|
download help
|
report inappropriate content
Author
Dan Patterson
File Name
SplitLayerByAttributes_Feb_16_2010.zip
Language
Python
Last Modified
Feb 16 2010
Status of work
Public Domain
Software
ArcGIS Desktop
File Size
5.83 kb
Downloads
12265
ArcScripts is intended for the free exchange of scripts and tools related to ESRI software products. Please alert the moderator if this script is a demo, trial-version, or an advertisement for a retail product.
Summary
Updated Feb 16/2010
Should work with most installation of 9.2 and above but uses the 9.2 method of invoking the geoprocessor to permit use of enumerations (code will be re-written to provide backward compatability).
9.1 no longer supported
Splits a layer according to attributes within the selected field producing a separate shapefile for common attributes.
If the FID or some other unique ID field is used, you can effectively produce separate shapefiles for each feature. If you are using a decimal field with a scale of 0 or an integer field or a string field, you can have one or more features in the output shapefile. Date fields need to be converted to a string field and integer fields should contain positive numbers
The selected field is queried for unique conditions. If a prior selection exists, then only those records are queried. The unique values found in the field (or selection within) are used to partition the input layer into the output layers.
Includes a Toolbox, Python script.
For AV3.x users, see
http://www.jennessent.com/arcview/split_shapefile.htm
Contact Us
|
Privacy
|
Legal
|
Site Map