kopia lustrzana https://github.com/openmaptiles/openmaptiles
Generate getmvt() func with build-sql (#880)
Add `getmvt` sql function as part of the build-sql make step. The function will be imported into PG during the `import-sql` step after all other SQL is done. This is a noop for the `generate-tiles` approach.pull/878/head^2
rodzic
bac0f25b1d
commit
6a41245288
4
Makefile
4
Makefile
|
@ -101,7 +101,9 @@ build/mapping.yaml: init-dirs
|
|||
|
||||
.PHONY: build-sql
|
||||
build-sql: init-dirs
|
||||
$(DOCKER_COMPOSE) run $(DC_OPTS) openmaptiles-tools generate-sql openmaptiles.yaml --dir ./build/sql
|
||||
$(DOCKER_COMPOSE) run $(DC_OPTS) openmaptiles-tools bash -c \
|
||||
'generate-sql openmaptiles.yaml --dir ./build/sql \
|
||||
&& generate-sqltomvt openmaptiles.yaml --key --postgis-ver 2.4.8 --function --fname=getmvt >> "./build/sql/run_last.sql"'
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
|
|
Ładowanie…
Reference in New Issue