public final class OSMUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static short[] |
extractKnownPOITags(org.openstreetmap.osmosis.core.domain.v0_6.Entity entity)
Extracts known POI tags and returns their ids.
|
static short[] |
extractKnownWayTags(org.openstreetmap.osmosis.core.domain.v0_6.Entity entity)
Extracts known way tags and returns their ids.
|
static SpecialTagExtractionResult |
extractSpecialFields(org.openstreetmap.osmosis.core.domain.v0_6.Entity entity,
String preferredLanguage)
Extracts special fields and returns their values as an array of strings.
|
static boolean |
isArea(org.openstreetmap.osmosis.core.domain.v0_6.Way way)
Heuristic to determine from attributes if a way is likely to be an area.
|
public static short[] extractKnownPOITags(org.openstreetmap.osmosis.core.domain.v0_6.Entity entity)
entity - the nodepublic static short[] extractKnownWayTags(org.openstreetmap.osmosis.core.domain.v0_6.Entity entity)
entity - the waypublic static SpecialTagExtractionResult extractSpecialFields(org.openstreetmap.osmosis.core.domain.v0_6.Entity entity, String preferredLanguage)
entity - the entitypreferredLanguage - the preferred languagepublic static boolean isArea(org.openstreetmap.osmosis.core.domain.v0_6.Way way)
way - the way (which is assumed to be closed and have enough nodes to be an area)Copyright © 2014 mapsforge.org