3

I have a geojson file for all of the tax areas in the state of Utah. I read it into a GeoPandas dataframe. Now each row represents a tax area polygon. Plot of GeoPandas dataset

Many of the tax area polygons overlap each other. For example, a county polygon serves as the foundation layer, and then a city polygon will be placed on top (the county polygon contains city polygons).

Each tax area polygon has a tax rate field. My objective is to add up tax rates where these polygons intersect, so in the end, one could hover over an area, and get the "top most" tax area's name, but have a cumulative sum of the intersecting tax area's rates.

I've looked at:

but these use other GIS software, and this is my first time using GeoPandas.

My ultimate goal is to output a new geojson file that has each tax area polygon but with the cumulative rate instead of each individual rate.

Any advice on how to accomplish this?

2
  • Sounds doable. I am a bit concerned though whether this would be a valid workflow. First, we can find all groups of intersecting polys, but what if it is (1,3) and (3,5)? Should polys 1,3,5 get the sum of tax rate each has? Another thing I worry about is how you plan to implement could hover over an area, and get the "top most" tax area's name? Using folium package or someth similar? I have hard time understanding the business logic behind choosing this name. Would you please elaborate on that? Maybe add some primitive hand drawn figures? Thanks! Aug 18, 2016 at 7:32
  • Yes, if three polygons intersect, just the area of the intersection should have the sum tax rate of the three polygons. I'm not familiar with folium but I will check it out. Perhaps instead of the top most name, if the user were hovering over an intersection of 3 polys the tooltip would show the three names and their sum of tax rates. Aug 22, 2016 at 15:51

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.