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

Updated reference to US airports data.

parent 71155147
No related branches found
No related tags found
1 merge request!1New branch with fixed history
......@@ -74,13 +74,13 @@ Relevant data in aviation facilities Shapefile (annual operations + ICOA ref):
**Europe**
Data source:
https://ec.europa.eu/eurostat/web/gisco/geodata/transport-networks
Air passenger transport by main airports in each reporting country, Monthly from 1993 to 2023, passengers + flights
- Airports: https://ec.europa.eu/eurostat/web/gisco/geodata/transport-networks
- Air passenger transport by main airports in each reporting country, Monthly from 1993 to 2023, passengers + flights
[doi:10.2908/AVIA_PAOA](https://doi.org/10.2908/AVIA_PAOA)
**US**
Aviation facilities:
https://opendata.arcgis.com/api/v3/datasets/c3ca6a6cdcb242698f1eadb7681f6162_0/downloads/data?format=shp&spatialRefId=3857&where=1%3D1
- https://hub.arcgis.com/datasets/fedmaps::aviation-facilities
---
......
......@@ -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://opendata.arcgis.com/api/v3/datasets/c3ca6a6cdcb242698f1eadb7681f6162_0/downloads/data?format=shp&spatialRefId=3857&where=1%3D1' -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
unzip -d ./temp/ ./temp/airports.zip
ogr2ogr -f MySQL MySQL:FACT_air,host=$HOST,user=$ROOT,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