How to Create Sequential Numbers in ArcGIS Using Field Calculator

preview_player
Показать описание
In this video, we'll learn how to generate sequential numbers using field calculator in ArcGIS. Hope you can enjoy! If you face any problems, feel free to comment.

▶ Pre-Logic Script Code:

rec=0
def autoIncrement():
global rec
pStart = 1
pInterval = 1
if (rec == 0):
rec = pStart
else:
rec += pInterval
return rec

▶ Paste the following code in the smaller box below the Pre-Logic Script Code:
autoIncrement()

#arcgis #arcmap #fieldcalculator
Рекомендации по теме
Комментарии
Автор

Many thanks very nice really appreciated

jacobm