phase 2 : on enchaîne tout

This commit is contained in:
MaelREBOUX 2021-09-25 12:16:52 +02:00
parent 05b0ba1097
commit 5e7f891898
2 changed files with 6 additions and 1 deletions

View file

@ -71,6 +71,11 @@ PGPASSWORD=$DB_PASSWD $PSQL -h $DB_HOST -p $DB_PORT -U $DB_USER -d $DB_NAME < sq
echo " TODO" echo " TODO"
echo "" echo ""
# on appelle le script qui s'occupe du calcul du routage
. phase_2_routing.sh
echo "" echo ""
echo "" echo ""
echo "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++" echo "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"

View file

@ -174,7 +174,7 @@ echo ""
echo " Export GeoJSON pour umap" echo " Export GeoJSON pour umap"
echo "" echo ""
rm -f $rep_data/phase_2_trace_pgr.geojson rm -f $rep_data/phase_2_trace_pgr.geojson
ogr2ogr -f "GeoJSON" $rep_data/phase_2_trace_pgr.geojson PG:"host=$DB_HOST user=$DB_USER password=$DB_PASSWD dbname=$DB_NAME" phase_2_trace_pgr_4326 ogr2ogr -f "GeoJSON" $rep_data/phase_2_trace_pgr.geojson PG:"host=$DB_HOST port=$DB_PORT user=$DB_USER password=$DB_PASSWD dbname=$DB_NAME" phase_2_trace_pgr_4326
echo " fait" echo " fait"