Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
FACT Geology and Mining
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 Geology and Mining
Commits
76baf422
"tableattrvalue_04R051.dat" did not exist on "5638f3fd33839085f93b4065c015d78142159a24"
Commit
76baf422
authored
6 months ago
by
Riccardo Boero
Browse files
Options
Downloads
Patches
Plain Diff
fixed typos in scripts
parent
3e50b01b
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
inputs/load_data.sh
+1
-1
1 addition, 1 deletion
inputs/load_data.sh
inputs/setup_db.sh
+0
-2
0 additions, 2 deletions
inputs/setup_db.sh
with
1 addition
and
3 deletions
inputs/load_data.sh
+
1
−
1
View file @
76baf422
...
...
@@ -11,7 +11,7 @@ wget -O ./temp/temp.zip -N "https://ostr-backend-prod.azurewebsites.net/server/a
unzip
-d
./temp/ ./temp/temp.zip
ogr2ogr
-f
MySQL MySQL:FACT_mine,host
=
$HOST
,user
=
$USER
,password
=
$PASSWORD
./temp/data/ArcMap9_ArcReader9/AllThemesMerged/gen.shp
-nln
geology
-update
-overwrite
-lco
engine
=
Aria
-t_srs
EPSG:4326
chmod
-R
u+w temp/
sudo
rm
-r
./temp
rm
-r
./temp
# single mineral maps
declare
-a
minerals
=(
"phosphate"
"podchrome"
"laterite"
"ree"
"carbonatite"
"nicrpge"
"sedcu"
"porcu"
"sedexmvt"
"sedznpb"
"vms"
"potash"
)
...
...
This diff is collapsed.
Click to expand it.
inputs/setup_db.sh
+
0
−
2
View file @
76baf422
...
...
@@ -7,5 +7,3 @@ PASSWORD=$3
echo
"*** Create database:"
mariadb
-h
"
$HOST
"
-u
"
$USER
"
-p
"
$PASSWORD
"
< inputs/sql/create_db.sql
#echo "*** Create tables:"
#mariadb -h "" -u "root" -p < inputs/sql/create_tables.sql
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