public final class OSMTagMapping extends Object
| Modifier and Type | Method and Description |
|---|---|
static OSMTagMapping |
getInstance() |
static OSMTagMapping |
getInstance(URL tagConf) |
Map<Short,Short> |
getOptimizedPoiIds() |
Map<Short,Short> |
getOptimizedWayIds() |
OSMTag |
getPoiTag(short id) |
OSMTag |
getPoiTag(String key,
String value) |
OSMTag |
getWayTag(short id) |
OSMTag |
getWayTag(String key,
String value) |
byte |
getZoomAppearPOI(short[] tagSet) |
byte |
getZoomAppearWay(short[] tagSet) |
void |
optimizePoiOrdering(gnu.trove.map.hash.TShortIntHashMap histogram) |
void |
optimizeWayOrdering(gnu.trove.map.hash.TShortIntHashMap histogram) |
public static OSMTagMapping getInstance()
public static OSMTagMapping getInstance(URL tagConf)
tagConf - the URL to a file that contains a tag configurationpublic Map<Short,Short> getOptimizedPoiIds()
public Map<Short,Short> getOptimizedWayIds()
public OSMTag getPoiTag(String key, String value)
key - the keyvalue - the valueOSMTagpublic OSMTag getWayTag(String key, String value)
key - the keyvalue - the valueOSMTagpublic byte getZoomAppearPOI(short[] tagSet)
tagSet - the tag setpublic byte getZoomAppearWay(short[] tagSet)
tagSet - the tag setpublic void optimizePoiOrdering(gnu.trove.map.hash.TShortIntHashMap histogram)
histogram - a histogram that represents the frequencies of tagspublic void optimizeWayOrdering(gnu.trove.map.hash.TShortIntHashMap histogram)
histogram - a histogram that represents the frequencies of tagsCopyright © 2014 mapsforge.org