Update osmand indexes
This commit is contained in:
parent
2d7bf2cbf0
commit
4a82e7cec5
3 changed files with 239 additions and 301 deletions
|
@ -56,6 +56,10 @@ public class BinaryMapAddressReaderAdapter {
|
|||
return cities;
|
||||
}
|
||||
|
||||
public List<String> getAttributeTagsTable() {
|
||||
return attributeTagsTable;
|
||||
}
|
||||
|
||||
public int getIndexNameOffset() {
|
||||
return indexNameOffset;
|
||||
}
|
||||
|
|
|
@ -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
Loading…
Reference in a new issue