Skip to content
Snippets Groups Projects
Commit c1a5dc9b authored by Riccardo Boero's avatar Riccardo Boero :innocent:
Browse files

fixed geology input data download

parent e8c9539d
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@ PASSWORD=$3
# geology
mkdir -p ./temp
wget -O ./temp/temp.zip -N "https://ftp.maps.canada.ca/pub/nrcan_rncan/publications/STPublications_PublicationsST/223/223767/of_5529.zip"
wget -O ./temp/temp.zip -N "https://ostr-backend-prod.azurewebsites.net/server/api/core/bitstreams/a2141be1-5afb-41c7-9588-a135734c0f8a/content"
unzip -d ./temp/ ./temp/temp.zip
ogr2ogr -f MySQL MySQL:FACT_mine,host=$HOST,user=$USER,password=$PASSWORD ./temp/data/ArcMap9_ArcReader9/AllThemesMerged/gen.shp -nln geology -update -overwrite -lco engine=Aria -t_srs EPSG:4326
chmod -R u+w temp/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment