Update osmand indexes

This commit is contained in:
Victor Shcherb 2015-07-06 06:23:52 +03:00
parent 2d7bf2cbf0
commit 4a82e7cec5
3 changed files with 239 additions and 301 deletions

View file

@ -56,6 +56,10 @@ public class BinaryMapAddressReaderAdapter {
return cities;
}
public List<String> getAttributeTagsTable() {
return attributeTagsTable;
}
public int getIndexNameOffset() {
return indexNameOffset;
}

View file

@ -98,6 +98,9 @@ public class CachedOsmandIndexes {
cblock.setType(mr.type);
addr.addCities(cblock);
}
for(String s : index.getAttributeTagsTable()) {
addr.addAdditionalTags(s);
}
fileIndex.addAddressIndex(addr);
}
@ -235,6 +238,9 @@ public class CachedOsmandIndexes {
cblock.type = mr.getType();
mi.cities.add(cblock);
}
for(String s : index.getAdditionalTagsList()) {
mi.attributeTagsTable.add(s);
}
reader.addressIndexes.add(mi);
reader.indexes.add(mi);
}

File diff suppressed because it is too large Load diff