Fix interpolation issue
This commit is contained in:
parent
fb764c01d9
commit
66d84dd34c
2 changed files with 2 additions and 2 deletions
|
@ -49,7 +49,7 @@ public class BinaryInspector {
|
||||||
// test cases show info
|
// 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 extract parts
|
||||||
// test case
|
// test case
|
||||||
}
|
}
|
||||||
|
|
|
@ -685,7 +685,7 @@ public class IndexAddressCreator extends AbstractIndexPartCreator{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (type != null && interpolationInterval > 0) {
|
if (type != null || interpolationInterval > 0) {
|
||||||
List<Node> nodesWithHno = new ArrayList<Node>();
|
List<Node> nodesWithHno = new ArrayList<Node>();
|
||||||
for (Node n : ((Way) e).getNodes()) {
|
for (Node n : ((Way) e).getNodes()) {
|
||||||
if (n.getTag(OSMTagKey.ADDR_HOUSE_NUMBER) != null && n.getTag(OSMTagKey.ADDR_STREET) != null) {
|
if (n.getTag(OSMTagKey.ADDR_HOUSE_NUMBER) != null && n.getTag(OSMTagKey.ADDR_STREET) != null) {
|
||||||
|
|
Loading…
Reference in a new issue