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:
| Polygon | Column | Row |
|---|---|---|
| A | 1 | 1 |
| B | 1 | 2 |
| C | 2 | 1 |
| D | 2 | 2 |
| E | 3 | 1 |
*Edited to change "label" to "attribute"
So you want to label each polygon using 2 attributes? You can do that in the labelling.
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.