Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
FACT Airports and Traffic
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Container Registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FACT
FACT Data Services
FACT Airports and Traffic
Commits
a2133581
Commit
a2133581
authored
1 year ago
by
Riccardo Boero
Browse files
Options
Downloads
Patches
Plain Diff
Conversion to EPSG:4326
parent
c8fe72da
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!1
New branch with fixed history
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+2
-0
2 additions, 0 deletions
README.md
inputs/load_vector_data.sh
+3
-3
3 additions, 3 deletions
inputs/load_vector_data.sh
with
5 additions
and
3 deletions
README.md
+
2
−
0
View file @
a2133581
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
inputs/load_vector_data.sh
+
3
−
3
View file @
a2133581
...
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment