Update phase_1.sh
This commit is contained in:
parent
5e7f891898
commit
786ef692b0
|
@ -78,14 +78,14 @@ echo ""
|
|||
|
||||
# et on exporte vers Geojson
|
||||
rm -f $rep_data/phase_1_pk_auto.geojson
|
||||
ogr2ogr -f "GeoJSON" $rep_data/phase_1_pk_auto.geojson PG:"host=$DB_HOST user=$DB_USER password=$DB_PASSWD dbname=$DB_NAME" phase_1_pk_auto_4326
|
||||
ogr2ogr -f "GeoJSON" $rep_data/phase_1_pk_auto.geojson PG:"host=$DB_HOST port=$DB_PORT user=$DB_USER password=$DB_PASSWD dbname=$DB_NAME" phase_1_pk_auto_4326
|
||||
rm -f $rep_data/phase_1_trace_4326.geojson
|
||||
ogr2ogr -f "GeoJSON" $rep_data/phase_1_trace_4326.geojson PG:"host=$DB_HOST user=$DB_USER password=$DB_PASSWD dbname=$DB_NAME" phase_1_trace_4326
|
||||
ogr2ogr -f "GeoJSON" $rep_data/phase_1_trace_4326.geojson PG:"host=$DB_HOST port=$DB_PORT user=$DB_USER password=$DB_PASSWD dbname=$DB_NAME" phase_1_trace_4326
|
||||
# les fichiers sont ensuite tout de suite visible dans umap
|
||||
|
||||
# exports supplémentaires
|
||||
rm -f $rep_data/phase_1_pk_auto.xlsx
|
||||
ogr2ogr -f "XLSX" $rep_data/phase_1_pk_auto.xlsx PG:"host=$DB_HOST user=$DB_USER password=$DB_PASSWD dbname=$DB_NAME" phase_1_pk_auto_4326
|
||||
ogr2ogr -f "XLSX" $rep_data/phase_1_pk_auto.xlsx PG:"host=$DB_HOST port=$DB_PORT user=$DB_USER password=$DB_PASSWD dbname=$DB_NAME" phase_1_pk_auto_4326
|
||||
|
||||
echo " fait"
|
||||
echo ""
|
||||
|
|
Loading…
Reference in a new issue