Specify zoom level
This commit is contained in:
parent
faffcdc3d8
commit
954039617b
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…
Reference in New Issue
Block a user