Quantcast
Channel: Calculating sequential numbers into sorted table using ArcMap - Geographic Information Systems Stack Exchange
Browsing latest articles
Browse All 4 View Live

Answer by user122347 for Calculating sequential numbers into sorted table...

I had the same question but for a simpler problem, based on having only one Field to sort. I was successful with the following script:# Pre-Logic Script Code:# Specify that the target Map Document is...

View Article


Answer by Richard Fairhurst for Calculating sequential numbers into sorted...

This is a two step process, and as a result, the Field Calculator is not well suited to it. It is better to run this in a standalone script. However, it can be done in the field calculator, provided...

View Article

Image may be NSFW.
Clik here to view.

Answer by FelixIP for Calculating sequential numbers into sorted table using...

"Solution" with 2 sorted fields (ascending):mxd = arcpy.mapping.MapDocument("CURRENT")lr=arcpy.mapping.ListLayers(mxd)[0]tbl=arcpy.da.TableToNumPyArray(lr,("oid","A","B"))bs=sorted(tbl, key=lambda x:...

View Article

Image may be NSFW.
Clik here to view.

Calculating sequential numbers into sorted table using ArcMap

I am using ArcMap 10.3.Is there a way to calculate a sorted field with sequential numbers in the Field Calculator or using an Update Cursor in ArcPy?I have seen Sorting feature class to calculate...

View Article
Browsing latest articles
Browse All 4 View Live




<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>