protomaps / PMTiles

Cloud-optimized + compressed single-file tile archives for vector and raster maps
https://protomaps.com/docs/pmtiles/
BSD 3-Clause "New" or "Revised" License
2.12k stars 125 forks source link

Dynamically set overview zoom levels #424

Closed eliabieri closed 4 months ago

eliabieri commented 4 months ago

Overview

I'm developing an offline first application that shows POIs on a map. I want to create a .pmtiles extract that contains a certain area of each POI but also provide the user with an overview (on larger zoom levels) while having the smallest file size possible.

Steps I've taken

  1. Create a GeoJSON MultiPolygon where each polygon is a circle with a certain radius around every POI
  2. Extract a .pmtile file using the pmtiles utility.

Issues I'm facing

I appreciate every idea on how I could get this problem solved.