mykotti

Python Script to Give Unique IDs to Near_DIST values

Discussion created by mykotti on Jan 25, 2012
Latest reply on Jan 31, 2012 by mykotti
I need to derive connectivity between polygons, That is, to group polygons of similar near distances based on Near_DIST values.For example polygons with IDs 1, 3,6, 8 have the same near distance, and I can give all of them one unique ID, say 1, and then go to the next polygons with same near distances and do the same, and so on and so forth. I wonder if somebody can help me write a python script to sort through the Near_DIST values and assign a unique ID....Thanks!.
ABDALLA

Outcomes