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

New link with valid token for temporary download of US airports shapefile.

parent db4aaff1
No related branches found
No related tags found
No related merge requests found
......@@ -24,7 +24,7 @@ rm -r ./temp
# US
echo "*** Downloading and loading US airports location and operations." # expected number of records in DB:
mkdir -p ./temp
wget -O ./temp/airports.zip -N 'https://stg-arcgisazurecdataprod.az.arcgis.com/exportfiles-273-10926/NTAD_Aviation_Facilities_2374095481045315526.zip?sv=2018-03-28&sr=b&sig=ni%2FThJr4jd2dJWOMcf0rZEwMMtIu%2F8q9m5lM7ZGKkyE%3D&se=2024-10-01T08%3A44%3A27Z&sp=r' -P ./temp
wget -O ./temp/airports.zip -N 'https://stg-arcgisazurecdataprod.az.arcgis.com/exportfiles-273-10926/NTAD_Aviation_Facilities_6916451147882473169.zip?sv=2018-03-28&sr=b&sig=OKIFOYYTZkZmjonMJYo%2FmboXh6Zjltu%2BV5R%2B9GITMLU%3D&se=2024-12-29T18%3A45%3A33Z&sp=r' -P ./temp
unzip -d ./temp/ ./temp/airports.zip
ogr2ogr -f MySQL MySQL:FACT_air,host="$HOST",user="$USER",password="$PASSWORD" ./temp/Aviation_Facilities.shp -nln us_airports -update -overwrite -lco engine=Aria -t_srs EPSG:4326
rm -r ./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