Skip to content

[Feature Request]: make use of pmtiles for admin boundaries #1404

Open
@wadhwamatic

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):

  1. Admin level data layers continue to render correctly and tooltips display information as configured in layers.json
  2. Go to feature displays admin level hierarchy and allows users to search for specific locations correctly
  3. Multiple language support works as expected, with admin names reflected correctly in tooltip and analysis results
  4. Running an analysis shows results by selected admin level
  5. Population exposure analysis correctly aggregates by admin areas and renders tables with admin areas as rows
  6. Layers with chart configuration correctly allow user to display charts in map view at admin levels 1 & 2
  7. Admin ids configured in prism.json and layers.json are correctly used to fetch data in chart module
  8. 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

Metadata

Labels

enhancementNew feature or requesttriageto be triaged for next action

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions