Skip to content

Commit dfd2a0a

Browse files
author
Eli Litwack
authored
Changed default action
Originally, the default action was downloading planet.mbtiles. Now, the default action is downloading QA_TILES.mbtiles. This is an improvement because if the user has set QA_TILES to something besides planet, they want to download that instead of planet.
1 parent 8e26cb8 commit dfd2a0a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Makefile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ LABEL_RATIO ?= 0
1010
ZOOM_LEVEL ?= 17
1111

1212
# Download OSM QA tiles
13+
.PHONY: download-osm-tiles
14+
download-osm-tiles: data/osm/$(QA_TILES).mbtiles
15+
echo "Downloading $(QA_TILES) extract."
16+
1317
data/osm/planet.mbtiles:
1418
mkdir -p $(dir $@)
1519
curl https://s3.amazonaws.com/mapbox/osm-qa-tiles/latest.planet.mbtiles.gz | gunzip > $@
@@ -18,9 +22,6 @@ data/osm/%.mbtiles:
1822
mkdir -p $(dir $@)
1923
curl https://s3.amazonaws.com/mapbox/osm-qa-tiles/latest.country/$(notdir $@).gz | gunzip > $@
2024

21-
.PHONY: download-osm-tiles
22-
download-osm-tiles: data/osm/$(QA_TILES).mbtiles
23-
echo "Downloading $(QA_TILES) extract."
2425

2526
# Make a list of all the tiles within BBOX
2627
data/all_tiles.txt:

0 commit comments

Comments
 (0)