diff --git a/DataExtractionOSM/src/net/osmand/binary/BinaryInspector.java b/DataExtractionOSM/src/net/osmand/binary/BinaryInspector.java index dbacef62f1..707cb81986 100644 --- a/DataExtractionOSM/src/net/osmand/binary/BinaryInspector.java +++ b/DataExtractionOSM/src/net/osmand/binary/BinaryInspector.java @@ -49,7 +49,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/Austria_2.obf"}); + //inspector(new String[]{"-vaddress",/* "-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/data/preparation/address/IndexAddressCreator.java b/DataExtractionOSM/src/net/osmand/data/preparation/address/IndexAddressCreator.java index 9b45135a79..23d6cc3bf4 100644 --- a/DataExtractionOSM/src/net/osmand/data/preparation/address/IndexAddressCreator.java +++ b/DataExtractionOSM/src/net/osmand/data/preparation/address/IndexAddressCreator.java @@ -685,7 +685,7 @@ public class IndexAddressCreator extends AbstractIndexPartCreator{ } } } - if (type != null && interpolationInterval > 0) { + if (type != null || interpolationInterval > 0) { List nodesWithHno = new ArrayList(); for (Node n : ((Way) e).getNodes()) { if (n.getTag(OSMTagKey.ADDR_HOUSE_NUMBER) != null && n.getTag(OSMTagKey.ADDR_STREET) != null) {