I have Feature Point DATA. I need to add some sequence number to the attribute of each point, based on their location in the display map. In my attribute it'S ordered in the opposite way.
In attribute table its start from there..
I tried to descending the ObjectID first and put this code from ESRI but the result follows ObjectID sequence..
rec=0
def autoIncrement():
global rec
pStart = 1
pInterval = 1
if (rec == 0):
rec = pStart
else:
rec += pInterval
return rec
I tried to search how to do add sequence on descending way. I found some advise from this but still cant do because it's too complicated for my data. My data just contains ObjectID and shape.
So what I want to do is to create sequence number opposite way from ObjectID or create descending sequence number for the simple.
How do I do it?