diff --git a/tiles/tiles.sh b/tiles/tiles.sh index 400ec0b9..9fffc544 100755 --- a/tiles/tiles.sh +++ b/tiles/tiles.sh @@ -25,17 +25,8 @@ if [ "$TILES" = "low-med" ]; then fi if [ "$TILES" = "high" ]; then - rm -f /tiles/high8.mbtiles - $MARTIN --min-zoom 8 --max-zoom 9 --source railway_line_high --output-file /tiles/high8.mbtiles - mbtiles summary /tiles/high8.mbtiles - - rm -f /tiles/high10.mbtiles - $MARTIN --min-zoom 10 --max-zoom "$MAX_ZOOM" --source railway_line_high,railway_text_km --output-file /tiles/high10.mbtiles - mbtiles summary /tiles/high10.mbtiles - rm -f /tiles/high.mbtiles - mbtiles copy --on-duplicate abort /tiles/high8.mbtiles /tiles/high.mbtiles - mbtiles copy --on-duplicate override /tiles/high10.mbtiles /tiles/high.mbtiles + $MARTIN --min-zoom 8 --max-zoom "$MAX_ZOOM" --source railway_line_high,railway_text_km --output-file /tiles/high.mbtiles mbtiles summary /tiles/high.mbtiles fi