Use the ST_AsMVT function to render tiles directly in Postgres
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Go to file
Yuri Astrakhan 6e74be938d Documentation and dockerfile cleanups 5 years ago
.gitignore Use direct Postgres connection, proper CLI, cleanup 5 years ago
Dockerfile Documentation and dockerfile cleanups 5 years ago
LICENSE Update LICENSE 7 years ago
README.md Documentation and dockerfile cleanups 5 years ago
requirements.txt Dockerfile and requirement fixes 5 years ago
server.py Use direct Postgres connection, proper CLI, cleanup 5 years ago

README.md

postserve

This is an OpenMapTiles map vector tile test server. It requires the prepared SQL statement generated by the generate-sqltovmt tools script.

To run, use this command, replacing myfile.sql with the name of the generated file in the current dir.

docker run -it --rm --net=host -v "$PWD:/data" openmaptiles/postserve /data/myfile.sql

To see help, use

docker run -it --rm --net=host -v "$PWD:/data" openmaptiles/postserve --help