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
Draw lines separating polygons with same attributes
contact author
|
download help
|
report inappropriate content
Author
Kirk Kuykendall
File Name
drawadjacent.zip
Language
Visual Basic
Last Modified
Feb 24 2005
Status of work
Public Domain
Software
ArcGIS Desktop
File Size
70.74 kb
Downloads
1215
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
This download includes an .mxd with a button on the topology toolbar that when pushed, does the following:
1) draws polylines that separate two polygons that have matching attributes.
2) updates the "ErrFlag" field on the polygon featureclass with the number of violations (adjacency or overlap) that each polygon feature is involved in. "ErrFlag" is the alias name of the field.
3) draws points (nodes) where two or more polygons come together with matching attributes. For example Four Corners NewMexico would not be a violation when using the "State_Name" attribute.
The tool operates only on the current extent.
To Use:
Add a polygon layer to the map.
Set the alias name of an integer field to "ErrFlag".
Turn on the topology toolbar.
Rightclick on the layer and choose Properties...
On the Fields tab, turn on visibility for each field that you want to tool to consider when it compares adjacent polygons. The field whose alias is "ErrFlag" will not be used in determining violations, so you may leave it visible, and perhaps set up the rendering based on the ErrFlag field.
Start editing, make a maptopology that has just the polygon layer in it.
Push the smiley face.
VBA source code included.
You may freely modify & re-distribute this so long as you feel really guilty about it.
Requires ArcView 9.0 (at minimum).
Contact Us
|
Privacy
|
Legal
|
Site Map