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
432fcfb7
Commit
432fcfb7
authored
2 months ago
by
Riccardo Boero
Browse files
Options
Downloads
Patches
Plain Diff
New link with valid token for temporary download of US airports shapefile.
parent
db4aaff1
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
inputs/load_vector_data.sh
+1
-1
1 addition, 1 deletion
inputs/load_vector_data.sh
with
1 addition
and
1 deletion
inputs/load_vector_data.sh
+
1
−
1
View file @
432fcfb7
...
...
@@ -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-1
0-01T0
8%3A4
4
%3A
27
Z&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-1
2-29T1
8%3A4
5
%3A
33
Z&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
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