mirror of
https://github.com/maplibre/maplibre-rs.git
synced 2025-12-08 19:05:57 +00:00
21 lines
652 B
Bash
Executable File
21 lines
652 B
Bash
Executable File
#!/bin/bash
|
|
|
|
|
|
|
|
if ! command -v tilelive-copy &> /dev/null
|
|
then
|
|
echo "tilelive-copy could not be found. Install it with 'yarn global add @mapbox/tilelive @mapbox/mbtiles'"
|
|
exit 1
|
|
fi
|
|
|
|
# Bounds copied from https://boundingbox.klokantech.com/
|
|
tilelive-copy \
|
|
--minzoom=12 --maxzoom=12 \
|
|
--bounds="11.395769,48.083436,11.618242,48.220866" \
|
|
test-data/europe_germany-2020-02-13-openmaptiles-v3.12.1.mbtiles test-data/munich-12.mbtiles
|
|
|
|
tilelive-copy \
|
|
--minzoom=15 --maxzoom=15 \
|
|
--bounds="11.395769,48.083436,11.618242,48.220866" \
|
|
test-data/europe_germany-2020-02-13-openmaptiles-v3.12.1.mbtiles test-data/munich-15.mbtiles
|