Hello All. In ArcGIS I am trying to correct an erroneously classified area (called "developed") with a more accurate value based on the classification of surrounding polygons. I have a table that lists the classification of polygons in 8 directions of the compass (ALCES_NW, ALCES_N, etc). A column is created for each direction - thus producing 8 columns of data. I need to return the most common value out of the 8 columns of data for each UID and copy the result in an empty field (DEV_RECLASS).
There are some conditions that need to be adhered to:
Any help would be greatly appreciated - I'm not even sure where to begin.
There are some conditions that need to be adhered to:
- I only want agriculture or natural landcover types to be analyzed (footprint types like roads or transmission lines must be ignored)
- if all of the 8 columns contain footprint types then a value of Unknown should be written to DEV_RECLASS
- if there is a tie between landscape types (eg: 3 columns are Ag-Annual Crop and 3 are Grassland and 2 are footprint) then the first landscape type value encountered should be returned
Any help would be greatly appreciated - I'm not even sure where to begin.