Specify zoom level

This commit is contained in:
Luke Murphy 2020-01-05 17:07:45 +01:00
parent faffcdc3d8
commit 954039617b
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -1,7 +1,8 @@
SERVER := voicegardens.server SERVER := voicegardens.server
REMOTE_HOST := voicegardens.org REMOTE_HOST := voicegardens.org
ARCHIVE_DIR := ./voicegardens/archive ARCHIVE_DIR := voicegardens/archive
STATIC_DIR := ./voicegardens/static STATIC_DIR := voicegardens/static
ZOOM_LEVEL := 5
default: dev-serve default: dev-serve
@ -21,4 +22,4 @@ voicegardens:
@fab -H $(REMOTE_HOST) voicegardens @fab -H $(REMOTE_HOST) voicegardens
tiles: tiles:
@gdal2tiles.py -p raster -z 0-5 -w none $(STATIC_DIR)/images/pink.png $(STATIC_DIR)/tiles @gdal2tiles.py -p raster -z 0-$(ZOOM_LEVEL) -w none $(STATIC_DIR)/images/pink.png $(STATIC_DIR)/tiles