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. #480
Unanswered
schierkolk
asked this question in
Q&A
Replies: 1 comment
-
I'd probably do something like this:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
`cd usa
wget https://download.geofabrik.de/north-america/us-latest.osm.pbf
nohup tilemaker --input us-latest.osm.pbf --output us-latest.mbtiles --config config-openmaptiles.json --process process-openmaptiles.lua &
cd ../world
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.
Beta Was this translation helpful? Give feedback.
All reactions