Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
giscience
big-data
ohsome
helpers
oshdb extract generator
Commits
6db1879d
Verified
Commit
6db1879d
authored
Dec 14, 2020
by
Martin Raifer
Browse files
remove unnecessary disclosure of database settings
fixes !i3 //edit: rewritten history didn't have the problem anymore
parent
933b631c
Changes
1
Show whitespace changes
Inline
Side-by-side
README.md
View file @
6db1879d
...
...
@@ -2,8 +2,18 @@
build using
`mvn package`
, execute as:
```
java -jar target/oshdb-extractor-0.1-SNAPSHOT-jar-with-dependencies.jar -i /.../ohsome-ignite.xml --input-prefix global-12345 -k "org.postgresql.Driver|jdbc:postgresql://10.11.12.21:5432/keytables-global-12345|username|password" -b minlon,minlat,maxlon,maxlat -o /.../output.oshdb --skip-large-relations
```
bash
# change the following variables to your settings
export
REPNUM
=
12345
export
DBSERVER
=
servername
export
DBUSER
=
username
export
DBPASSWORD
=
password
export
DATABASE
=
keytables-global-
$REPNUM
export
INPUTPREFIX
=
global-
$REPNUM
export
IGNITECONF
=
/.../ohsome-ignite.xml
export
OUTFILE
=
/.../output.oshdb
java
-jar
target/oshdb-extractor-0.1-SNAPSHOT-jar-with-dependencies.jar
-i
$IGNITECONF
--input-prefix
$INPUTPREFIX
-k
"org.postgresql.Driver|jdbc:postgresql://
$DBSERVER
:5432/
$DATABASE
|
$DBUSER
|
$DBPASSWORD
"
-b
minlon,minlat,maxlon,maxlat
-o
$OUTFILE
--skip-large-relations
```
You can get a full list of supported arguments by running
`--help`
on the jar file.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment