Use openmaptiles-tools:0.5 and docker-compose to run it
This commit is contained in:
parent
881e1c0881
commit
8ff5d10e8b
@ -75,7 +75,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ./build:/sql
|
- ./build:/sql
|
||||||
openmaptiles-tools:
|
openmaptiles-tools:
|
||||||
image: "openmaptiles/openmaptiles-tools:latest"
|
image: "openmaptiles/openmaptiles-tools:0.5"
|
||||||
env_file: .env
|
env_file: .env
|
||||||
networks:
|
networks:
|
||||||
- postgres_conn
|
- postgres_conn
|
||||||
|
|||||||
@ -166,14 +166,14 @@ fi
|
|||||||
echo " "
|
echo " "
|
||||||
echo "-------------------------------------------------------------------------------------"
|
echo "-------------------------------------------------------------------------------------"
|
||||||
echo "====> : Remove old generated source files ( ./build/* ) ( if they exist ) "
|
echo "====> : Remove old generated source files ( ./build/* ) ( if they exist ) "
|
||||||
docker run --rm -v $(pwd):/tileset openmaptiles/openmaptiles-tools make clean
|
docker-compose run --rm openmaptiles-tools make clean
|
||||||
|
|
||||||
echo " "
|
echo " "
|
||||||
echo "-------------------------------------------------------------------------------------"
|
echo "-------------------------------------------------------------------------------------"
|
||||||
echo "====> : Code generating from the layer definitions ( ./build/mapping.yaml; ./build/tileset.sql )"
|
echo "====> : Code generating from the layer definitions ( ./build/mapping.yaml; ./build/tileset.sql )"
|
||||||
echo " : The tool source code: https://github.com/openmaptiles/openmaptiles-tools "
|
echo " : The tool source code: https://github.com/openmaptiles/openmaptiles-tools "
|
||||||
echo " : But we generate the tm2source, Imposm mappings and SQL functions from the layer definitions! "
|
echo " : But we generate the tm2source, Imposm mappings and SQL functions from the layer definitions! "
|
||||||
docker run --rm -v $(pwd):/tileset openmaptiles/openmaptiles-tools make
|
docker-compose run --rm openmaptiles-tools make
|
||||||
|
|
||||||
echo " "
|
echo " "
|
||||||
echo "-------------------------------------------------------------------------------------"
|
echo "-------------------------------------------------------------------------------------"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user