changed db-tag-processing to csv-file
This commit is contained in:
parent
60c99500fa
commit
58e9ec301b
2 changed files with 5 additions and 5 deletions
|
@ -27,10 +27,10 @@ import btools.util.FrozenLongMap;
|
||||||
|
|
||||||
public class DatabasePseudoTagProvider {
|
public class DatabasePseudoTagProvider {
|
||||||
|
|
||||||
long cntOsmWays = 0L;
|
private long cntOsmWays = 0L;
|
||||||
long cntWayModified = 0L;
|
private long cntWayModified = 0L;
|
||||||
|
|
||||||
Map<String, Long> pseudoTagsFound;
|
private Map<String, Long> pseudoTagsFound = new HashMap<>();
|
||||||
|
|
||||||
FrozenLongMap<Map<String, String>> dbData;
|
FrozenLongMap<Map<String, String>> dbData;
|
||||||
|
|
||||||
|
|
|
@ -105,7 +105,7 @@ public class OsmParser extends MapCreatorBase {
|
||||||
try {
|
try {
|
||||||
nListener.nextNode(n);
|
nListener.nextNode(n);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
throw new RuntimeException("error writing node: " + e);
|
throw new RuntimeException("error writing node: " + e, e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -116,7 +116,7 @@ public class OsmParser extends MapCreatorBase {
|
||||||
try {
|
try {
|
||||||
wListener.nextWay(w);
|
wListener.nextWay(w);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
throw new RuntimeException("error writing way: " + e);
|
throw new RuntimeException("error writing way: " + e, e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue