Permalink
Browse files

renamed the replicate sequences tool

  • Loading branch information...
1 parent 7150710 commit f8db935d713c550df4a827aca64bde2fad0b2ad0 Claus Stadler committed Jun 28, 2017
@@ -11,7 +11,7 @@
import com.beust.jcommander.JCommander;
import com.beust.jcommander.Parameter;
-public class CommandOsmDateToSeq {
+public class CommandOsmReplicateSequences {
@Parameter(names = {"-u", "-url"}, description = "OSM Repository base URL")
public String osmReplicationRepoBaseUrl = null;
@@ -21,7 +21,7 @@
public static void main(String[] args) throws Exception {
- CommandOsmDateToSeq options = new CommandOsmDateToSeq();
+ CommandOsmReplicateSequences options = new CommandOsmReplicateSequences();
JCommander jCommander = new JCommander(options);
jCommander.parse(args);
@@ -1,4 +1,4 @@
#!/bin/sh
-java -cp "/usr/share/linkedgeodata/linkedgeodata.jar" "org.aksw.linkedgeodata.cli.command.osm.CommandOsmDateToSeq" "$@"
+java -cp "/usr/share/linkedgeodata/linkedgeodata.jar" "org.aksw.linkedgeodata.cli.command.osm.CommandOsmReplicateSequences" "$@"
@@ -24,7 +24,8 @@ if [ -z "$statusVal" ]; then
curl -L "$OSM_DATA_BASE_URL" --create-dirs -o data.osm.pbf
timestamp=`osmconvert --out-timestamp "data.osm.pbf"`
- curl "https://osm.mazdermind.de/replicate-sequences/?$timestamp" > sync/state.txt
+ #curl "https://osm.mazdermind.de/replicate-sequences/?$timestamp" > sync/state.txt
+ lgd-osm-replicate-sequences -u "$OSM_DATA_SYNC_URL" -d "$timestamp" > sync/state.txt
# TODO Fix lgd-createdb to include port

0 comments on commit f8db935

Please sign in to comment.