diff --git a/DataExtractionOSM/src/net/osmand/binary/BinaryInspector.java b/DataExtractionOSM/src/net/osmand/binary/BinaryInspector.java index d4c8ede38e..2ee0e3733f 100644 --- a/DataExtractionOSM/src/net/osmand/binary/BinaryInspector.java +++ b/DataExtractionOSM/src/net/osmand/binary/BinaryInspector.java @@ -48,7 +48,7 @@ public class BinaryInspector { // test cases show info - inspector(new String[]{"-vmap", /*"-bbox=-121.785,37.35,-121.744,37.33", */"/home/victor/projects/OsmAnd/data/osm-gen/Map.obf"}); +// inspector(new String[]{"-vmap", /*"-bbox=-121.785,37.35,-121.744,37.33", */"/home/victor/projects/OsmAnd/data/osm-gen/Map.obf"}); // test case extract parts // test case } diff --git a/DataExtractionOSM/src/net/osmand/binary/BinaryMapIndexReader.java b/DataExtractionOSM/src/net/osmand/binary/BinaryMapIndexReader.java index e7d6f9a26c..bf1a47c63c 100644 --- a/DataExtractionOSM/src/net/osmand/binary/BinaryMapIndexReader.java +++ b/DataExtractionOSM/src/net/osmand/binary/BinaryMapIndexReader.java @@ -1408,6 +1408,10 @@ public class BinaryMapIndexReader { onewayReverseAttribute = id; } else if("ref".equals(tag)){ refEncodingType = id; + } else if("tunnel".equals(tag)){ + negativeLayers.add(id); + } else if("bridge".equals(tag)){ + positiveLayers.add(id); } else if("layer".equals(tag)){ if(val != null && !val.equals("0") && val.length() > 0) { if(val.startsWith("-")) {