kopia lustrzana https://github.com/openmaptiles/openmaptiles
Add some help instructions
rodzic
7ac0fb66d6
commit
46d34dd017
|
@ -52,7 +52,10 @@ To work on *osm2vectortiles.tm2source* you need Docker and Python.
|
|||
Build the tileset.
|
||||
|
||||
```
|
||||
# Build the imposm mapping, the tm2source project and collect all SQL scripts
|
||||
make
|
||||
# You can also run the build process inside a Docker container
|
||||
docker run -v $(pwd):/tileset openmaptiles/openmaptiles-tools make
|
||||
```
|
||||
|
||||
### Prepare the Database
|
||||
|
@ -87,8 +90,7 @@ docker-compose run import-osm
|
|||
Each time you modify layer SQL code run `make` and `docker-compose run import-sql`.
|
||||
|
||||
```
|
||||
make
|
||||
docker-compose run import-sql
|
||||
make clean && make && docker-compose run import-sql
|
||||
```
|
||||
|
||||
To look at the vector tiles you can start up Mapbox Studio Classic in a container
|
||||
|
|
|
@ -45,7 +45,7 @@ services:
|
|||
ports:
|
||||
- "3000:3000"
|
||||
export-vectortiles:
|
||||
image: "openmaptiles/export-vectortiles"
|
||||
image: "openmaptiles/generate-vectortiles"
|
||||
volumes:
|
||||
- ./data:/export
|
||||
- ./build/openmaptiles.tm2source:/tm2source
|
||||
|
|
Ładowanie…
Reference in New Issue