Generate MBTiles containing MVT vector tiles from a TM2Source project
100K+
A Docker image to export MBTiles (containing gzipped MVT PBF) from a TM2Source project. The TM2Source project usually references a database you need to link against this container.
You need to provide the database credentials and run generate-vectortiles.
docker run --rm \
-v $(pwd)/project.tm2source:/tm2source \
-v $(pwd):/export \
-e PGHOST="127.0.0.1" \
-e PGDATABASE="openmaptiles" \
-e PGUSER="openmaptiles" \
-e PGPASSWORD="openmaptiles" \
openmaptiles/generate-vectortiles
Optional environment variables:
PGPORT (defaults to 5432)Legacy env variables are still supported, but they are not recommended:
POSTGRES_HOST,POSTGRES_DB, POSTGRES_USER, POSTGRES_PASSWORD, POSTGRES_PORT
Content type
Image
Digest
sha256:453a8ec44…
Size
107.7 MB
Last updated
7 months ago
docker pull openmaptiles/generate-vectortiles