Skip to content

Commit

Permalink
fix high railway tiles only available from zoom 10
Browse files Browse the repository at this point in the history
  • Loading branch information
hiddewie committed Jan 12, 2025
1 parent ef38d7a commit d1b5a34
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions tiles/tiles.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit d1b5a34

Please sign in to comment.