/generate-vectortiles

Generate vector tiles from TM2Source

Primary LanguageShellMIT LicenseMIT

Generate Vector Tiles from TM2Source

Docker Automated build

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