Use specific omt-tools

3.5 v3.5.1
jirik 2017-07-25 17:38:37 +02:00
rodzic f829f6cd19
commit f61415c464
2 zmienionych plików z 5 dodań i 5 usunięć

Wyświetl plik

@ -75,7 +75,7 @@ services:
volumes:
- ./build:/sql
openmaptiles-tools:
image: "openmaptiles/openmaptiles-tools:latest"
image: "openmaptiles/openmaptiles-tools:v0.2"
env_file: .env
networks:
- postgres_conn

Wyświetl plik

@ -166,14 +166,14 @@ fi
echo " "
echo "-------------------------------------------------------------------------------------"
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 "====> : Code generating from the layer definitions ( ./build/mapping.yaml; ./build/tileset.sql )"
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! "
docker run --rm -v $(pwd):/tileset openmaptiles/openmaptiles-tools make
docker-compose run --rm openmaptiles-tools make
echo " "
echo "-------------------------------------------------------------------------------------"