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

Conversion to EPSG:4326

parent c8fe72da
No related branches found
No related tags found
1 merge request!1New branch with fixed history
......@@ -72,6 +72,8 @@ Relevant data in aviation facilities Shapefile (annual operations + ICOA ref):
|---|---|---|
|ICAO_ID|ICAO|ICAO airport code|
**All spatial projects are converted to EPSG:4326.**
---
## Notes
......
......@@ -7,13 +7,13 @@ echo "*** Downloading and loading EU airports location." # expected number of re
mkdir -p ./temp
wget -N 'https://ec.europa.eu/eurostat/cache/GISCO/geodatafiles/AIRP_SH.zip' -P ./temp
unzip -d ./temp/ ./temp/AIRP_SH.zip
ogr2ogr -f MySQL MySQL:FACT_air,host=,user=root,password= ./temp/AIRP_SH/shape/data/AIRP_ICAO_PT.shp -nln eu_airports_2006 -update -overwrite -lco engine=Aria
ogr2ogr -f MySQL MySQL:FACT_air,host=,user=root,password= ./temp/AIRP_SH/shape/data/AIRP_ICAO_PT.shp -nln eu_airports_2006 -update -overwrite -lco engine=Aria -t_srs EPSG:4326
rm -r ./temp
# 2011
mkdir -p ./temp
wget -N 'https://ec.europa.eu/eurostat/cache/GISCO/geodatafiles/Airports-2013-SHP.zip' -P ./temp
unzip -d ./temp/ ./temp/Airports-2013-SHP.zip
ogr2ogr -f MySQL MySQL:FACT_air,host=,user=root,password= ./temp/SHAPE/AIRP_PT_2013.shp -nln eu_airports_2013 -update -overwrite -lco engine=Aria
ogr2ogr -f MySQL MySQL:FACT_air,host=,user=root,password= ./temp/SHAPE/AIRP_PT_2013.shp -nln eu_airports_2013 -update -overwrite -lco engine=Aria -t_srs EPSG:4326
rm -r ./temp
# US
......@@ -21,5 +21,5 @@ echo "*** Downloading and loading US airports location and operations." # expect
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
unzip -d ./temp/ ./temp/airports.zip
ogr2ogr -f MySQL MySQL:FACT_air,host=,user=root,password= ./temp/Aviation_Facilities.shp -nln us_airports -update -overwrite -lco engine=Aria
ogr2ogr -f MySQL MySQL:FACT_air,host=,user=root,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