From 83e90ee0a28da471a52a8a9dade78d3c5e284dae Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Tue, 10 Feb 2015 00:24:22 +0100 Subject: [PATCH] Fix entity parser --- OsmAnd-java/src/net/osmand/osm/edit/EntityParser.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/OsmAnd-java/src/net/osmand/osm/edit/EntityParser.java b/OsmAnd-java/src/net/osmand/osm/edit/EntityParser.java index 6c316f96df..411c0ff204 100644 --- a/OsmAnd-java/src/net/osmand/osm/edit/EntityParser.java +++ b/OsmAnd-java/src/net/osmand/osm/edit/EntityParser.java @@ -19,6 +19,9 @@ import net.osmand.util.Algorithms; public class EntityParser { public static void parseMapObject(MapObject mo, Entity e) { + parseMapObject(mo, e, e.getId()); + } + public static void parseMapObject(MapObject mo, Entity e, long lid) { mo.setId(e.getId()); if(mo instanceof Amenity) { mo.setId((e.getId() << 1) + ((e instanceof Node) ? 0 : 1));