New answers tagged intersection
I believe you would have to create a new column and input the command to calculate what you are wanting. You could try the following: case when "DNAME_2006" IN ('MASINDI') THEN ("Area_1" / "AREA") * "Population" END UPDATE: Unfortunately, I don't think you can do a simple SUM using the Field Calculator. However, there are a couple of other methods you ...
To do this I would use the Intersect (Analysis) tool. The ArcPy code will be: import arcpy homesFC = <your path to input Homes> districtsFC = <your path to input Districts> homesWithDistrictFC = <your path to output> arcpy.Intersect_analysis ([homesFC, districtsFC], homesWithDistrictFC)
Approach #2 seems to be the more comfortable one. You should have a look at natural earth data for a shp ( www.naturalearthdata.com/downloads/10m-cultural-vectors/10m-admin-0-countries/). Regarding the flight path I am not sure if it is always a straight line. You should consider that.
If the data is georeferenced, you do not need to rescale anything. However, you should be aware that your data sources have different spatial resolution and use a tolerance (20-50 m) to avoid sliver polygons due to this difference.
Top 50 recent answers are included