Column and Row values for polygons in a shapefile

5108
11
03-30-2016 12:39 PM
KatelijnVan_Munster
New Contributor II

How can I attribute individual polygons in a shapefile with row and column numbers so that each polygon will have its own unique combination of column and row values. Examples of shapefile types could be a simple fishnet grid, or something less regular like the counties in a state.

Right now my attribute table looks something like this:

Polygon
A

B

C

I'd like the resulting attribute table to look something like this:

PolygonColumnRow
A11
B12
C21
D22
E31

*Edited to change "label" to "attribute"

Tags (1)
0 Kudos
11 Replies
BrianN
by
New Contributor II

So you want to label each polygon using 2 attributes? You can do that in the labelling.

0 Kudos
DanPatterson_Retired
MVP Emeritus

when you decide on the rules, there are several options as noted here https://community.esri.com/message/458812#comment-458812

but the python snippet  assumes some logic to the order of the polygons.