0

I would like to create a mbtiles service that has global boundaries and places from z0-3 combined with US only data from z0-14.

wget https://download.geofabrik.de/north-america/us-latest.osm.pbf
wget https://planet.osm.org/pbf/planet-latest.osm.pbf
wget https://osmdata.openstreetmap.de/download/water-polygons-split-4326.zip
unzip water-polygons-split-4326.zip
osmium tags-filter planet-latest.osm.pbf w/boundary w/places -o planet-boundary-places.osm.pbf
tilemaker --input planet-boundary-places.osm.pbf --output ../usa/us-latest.mbtiles --merge --config config-openmaptiles-world.json --process process-openmaptiles.lua

This is one thing I have tried. Specifying a maxxoom as 3 in the config file. In this iteration the global boundary covers the US data.

I have tried the other way and I get boundary everywhere except for the US.

Suggestion Welcome

schierkolk
  • 29
  • 4

0 Answers0