I have two spatial file (shp and its friends) with different detail level
One is district level and the other one is grid (2x2km) level.
One district is of course contains multiple grid, BUT
Some grid (from grid spatial file) may have areas from two districts because of its strict properties (a square polygon/area)
Example
Grid_Index AAA1000 may have two intersected districts in it, District XX and YY
I can’t really provide the data because of confidentiality, but while asking i try to make up some sample generated data
I want to split Grid that have or intersect more than one districts for whole country BASED on the long-lat in polygon/geometry data. Maybe there is any python or geopandas algorithm that can help this?
Grid_Index AAA1000 may have 2 districts intersect in it, District XX and YY.
So i want to make a new grid index AAA1000_A for district XX and AAA1000_B for district YY and so on.
So that i still have my initial Grid shapefile, but also have option to plot my data in District level.
max01 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1