Prepare to accept merge for mapcreator

This commit is contained in:
Victor Shcherb 2016-05-07 17:58:28 +02:00
parent 43e7923289
commit 83f9b03dde

View file

@ -82,9 +82,6 @@ public class BinaryMapIndexReader {
private final static Log log = PlatformUtil.getLog(BinaryMapIndexReader.class);
public static boolean READ_STATS = false;
public final static int[] TYPES = { CITY_TOWN_TYPE, POSTCODES_TYPE, VILLAGES_TYPE, STREET_TYPE };
public final static int[] CITY_TYPES = { CITY_TOWN_TYPE, POSTCODES_TYPE, VILLAGES_TYPE };
private final RandomAccessFile raf;
protected final File file;
@ -1831,6 +1828,14 @@ public class BinaryMapIndexReader {
public boolean isBaseMap(){
return name != null && name.toLowerCase().contains(BASEMAP_NAME);
}
public String getPartName() {
return "Map";
}
public int getFieldNumber() {
return OsmandOdb.OsmAndStructure.MAPINDEX_FIELD_NUMBER;
}
}
public static class TagValuePair {