[Feature Request]: make use of pmtiles for admin boundaries #1404
Open
Description
Provide a clear and concise description of what you want to happen.
We are unable to load larger admin boundary files. Rather than attempt to load large geojson files which can contain more data than necessary, we should try to only load relevant data based on the users' zoom level and in-view bbox. We've determined that pmtiles will provide a good solution for this.
It's critical that we continue to maintain support for admin boundaries in the form of geojson, while adding support for admin boundaries using pmtiles
The change would touch many areas and that the following features still work using either admin boundary approach (json or pmtiles):
- Admin level data layers continue to render correctly and tooltips display information as configured in layers.json
- Go to feature displays admin level hierarchy and allows users to search for specific locations correctly
- Multiple language support works as expected, with admin names reflected correctly in tooltip and analysis results
- Running an analysis shows results by selected admin level
- Population exposure analysis correctly aggregates by admin areas and renders tables with admin areas as rows
- Layers with chart configuration correctly allow user to display charts in map view at admin levels 1 & 2
- Admin ids configured in prism.json and layers.json are correctly used to fetch data in chart module
- Selection of an admin area in the print feature masks non-selected areas
Is there anything else you can add about the proposal? You might want to link to related issues here, if you haven't already.
No response