Public | Automated Build

Last pushed: 6 months ago
Short Description
Generate MBTiles containing MVT vector tiles from a TM2Source project
Full Description

Generate Vector Tiles from TM2Source

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.

Usage

You need to provide the database credentials and run generate-vectortiles.

docker run --rm \
    -v $(pwd)/project.tm2source:/tm2source \
    -v $(pwd):/export \
    -e POSTGRES_USER="osm" \
    -e POSTGRES_PASSWORD="osm" \
    -e POSTGRES_HOST="127.0.0.1" \
    -e POSTGRES_DB="osm" \
    -e POSTGRES_PORT="5432" \
    openmaptiles/generate-vectortiles
Docker Pull Command
Owner
openmaptiles

Comments (0)