Merge pull request #515 from afischerdev/misc-pbfparser

Use an interface call in pbfparser lib
This commit is contained in:
afischerdev 2023-03-22 18:45:16 +01:00 committed by GitHub
commit a75ee2b5e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -91,7 +91,7 @@ public class OsmParser extends MapCreatorBase {
public void addNode(long nid, Map<String, String> tags, double lat, double lon) { public void addNode(long nid, Map<String, String> tags, double lat, double lon) {
NodeData n = new NodeData(nid, lon, lat); NodeData n = new NodeData(nid, lon, lat);
n.setTags((HashMap<String, String>) tags); n.setTags(tags);
try { try {
nListener.nextNode(n); nListener.nextNode(n);
} catch (Exception e) { } catch (Exception e) {