Skip to content
This repository has been archived by the owner on May 19, 2020. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasmartinelli authored Nov 1, 2016
1 parent 61f1dbd commit ef48213
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,21 @@
# Generate Vector Tiles from TM2Source

*This is a work in progress towards OSM2VectorTiles v3.0*
[![Docker Automated build](https://img.shields.io/docker/automated/openmaptiles/generate-vectortiles.svg?maxAge=2592000)]() [![](https://images.microbadger.com/badges/image/openmaptiles/generate-vectortiles.svg)](https://microbadger.com/images/openmaptiles/generate-vectortiles)

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 `export-mbtiles`.
You need to provide the database credentials and run `generate-vectortiles`.

```bash
docker run --rm \
-v ./osm2vectortiles.tm2source:/tm2source \
-v ./:/export \
-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" \
osm2vectortiles/generate-vectortiles
openmaptiles/generate-vectortiles
```

0 comments on commit ef48213

Please sign in to comment.