Update phase_2_routing.sh

export GeoJSON phase_2_trace_pgr pour umap
This commit is contained in:
MaelREBOUX 2021-09-24 16:01:49 +02:00
parent 774240c54f
commit 37ab98cd80

View file

@ -167,6 +167,11 @@ echo " Calcul des itinéraires terminé"
echo ""
echo " Export GeoJSON pour umap"
echo ""
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
echo " fait"
echo ""