changed db-tag-processing to csv-file

This commit is contained in:
Arndt Brenschede 2023-07-09 15:39:55 +02:00
parent 60c99500fa
commit 58e9ec301b
2 changed files with 5 additions and 5 deletions

View file

@ -27,10 +27,10 @@ import btools.util.FrozenLongMap;
public class DatabasePseudoTagProvider {
long cntOsmWays = 0L;
long cntWayModified = 0L;
private long cntOsmWays = 0L;
private long cntWayModified = 0L;
Map<String, Long> pseudoTagsFound;
private Map<String, Long> pseudoTagsFound = new HashMap<>();
FrozenLongMap<Map<String, String>> dbData;

View file

@ -105,7 +105,7 @@ public class OsmParser extends MapCreatorBase {
try {
nListener.nextNode(n);
} 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 {
wListener.nextWay(w);
} catch (Exception e) {
throw new RuntimeException("error writing way: " + e);
throw new RuntimeException("error writing way: " + e, e);
}
}