Browse Source

Specify zoom level

main
decentral1se 2 years ago
parent
commit
954039617b
No known key found for this signature in database GPG Key ID: 5E2EF5A63E3718CC
  1. 11
      makefile

11
makefile

@ -1,7 +1,8 @@
SERVER := voicegardens.server
REMOTE_HOST := voicegardens.org
ARCHIVE_DIR := ./voicegardens/archive
STATIC_DIR := ./voicegardens/static
SERVER := voicegardens.server
REMOTE_HOST := voicegardens.org
ARCHIVE_DIR := voicegardens/archive
STATIC_DIR := voicegardens/static
ZOOM_LEVEL := 5
default: dev-serve
@ -21,4 +22,4 @@ voicegardens:
@fab -H $(REMOTE_HOST) voicegardens
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

Loading…
Cancel
Save