FULL DISCLOSURE: New to Python, so using the built in Python code blocks within field calculator would work best for me. :)
I'm using a Census tract shapefile with their corresponding attributes of interest within ArcMap 10.7.1. My project goal is to identify the subset of tracts that share a line segment while:
In the past, I've used tools to identify polygons that share a border, and I used the 'Select by Attributes' tool in another project to query.
However, I'm stuck because this particular project has an interdependent set of criteria based on both spatial relationship and corresponding attributes.
How to efficiently model multiple iterations to find optimal solution?
why is this a python question?
step 2 is a field calculator calculation
your boundary line doesn't appear to have changed so it is still a spatial selection
not sure what you mean by maximizing the number of employed people.
If you can deal with your individual requirements, then an "overlay" of some kind will determine where, and if, the combinations can be met. That would be the starting point for any kind of model, process or script
I need to select a set of contiguous tracts where the total number of unemployed people within those tracts (calculated as the sum of attribute #1) is as high as possible while the quotient calculated from 2 other fields remains below "6.5".
Seemed like a Field Calc (python-related) question. Perhaps I posted to the wrong forum.
Not sure what you mean by "sort of retired"
Summarize Within (Analysis)—ArcGIS Pro | Documentation will give you the summary of your desired fields (eg total)
Summary Statistics (Analysis)—ArcGIS Pro | Documentation you can get your ratio there and you can select by attributes from it.
"sort of retired" my signature, representing my life status