public enum SupportedTagKeys extends java.lang.Enum<SupportedTagKeys>
OsmXmlSegmenter,
OSMLayerEnum| Enum Constant and Description |
|---|
abandoned
Indicates that this element has been abandoned from its original purpose.
|
admin_level
Specifies the level of administrative control associated with a
boundary or border_type. |
aeroway |
amenity |
area
Indicates that this Way is an enclosed area rather than an open polyline.
|
border_type |
boundary |
bridge
Indicates that this Way is a bridge above some other feature.
|
building
Indicates that this Way is a building rather than an open space.
|
craft |
emergency |
fixme
Flag indicating this OpenStreetMap record is defective and needs updating.
|
hazmat
Specifies if there are restrictions on transporting Hazardous Materials along this Way.
|
highway |
historic |
icao
ICAO or IATA abbreviation for an airport.
|
internet_access
Indicates that this Way or Node provides public Internet access.
|
island
Indicates that the specified Way (probably an area) is an island within a body of water.
|
landuse |
lanes
Number of traffic lanes upon a Way (such as a divided highway).
|
layer
Specifies the Z-order of this Way relative to other Ways.
|
leisure |
lit
Indicates that this Way or Node has artificial illumination.
|
man_made |
maxheight
Specifies the maximum passage height for this Way (restrictions on over-size vehicles), or specifies the peak height or elevation for this Node.
|
maxspeed
Specifies the maximum speed of travel along a Way.
|
maxweight
Specifies the maximum permitted vehicle weight for this Way (restrictions on over-size vehicles).
|
name
Human-readable name of this Node or Way.
|
name_en
English-language human-readable name of the Node or Way.
|
natural |
office |
old_ref
alternate Highway route number or abbreviation.
|
oneway
Indicates this Way has traffic in only one direction.
|
place |
power |
railway |
ref
Highway route number or abbreviation.
|
religion |
shop |
subway
Indicates that this Node or Way is an underground train rather than a surface one.
|
toll
Indicates that some organization charges a toll or fee to travel on the Way.
|
tourism |
tunnel
Indicates that this Way is a tunnel below some other feature.
|
type
specifies the type of a Relation member.
|
water |
waterway |
width
Width of a Way in LengthUnits.
|
| Modifier and Type | Field and Description |
|---|---|
short |
flags
The set of flags associated with this tag name.
|
boolean |
isAmenityOrWay
Flag indicating whether the osmEnumType is for a OSM enumeration that can be translated into either
a WayType or an AmenityType, depending on the specific value of the enumeration.
|
OSMLayerEnum |
logicalEnum
The encoding enum value for keying the value of this tag in the YAAC compressed map data format.
|
static short |
M_ALTERNATE
Specify that any value associated with this element should only be used for the specified
YAAC attribute if a higher-priority tag key isn't providing the attribute.
|
static short |
M_BUILDING_AMENITY
Specify that this value could be just a Short object for a flags bit to OR in, or an AmenityType that
also implies the IS_BUILDING flag bit.
|
static short |
M_DISUSED
Specify that if the value associated with this is stored, the IS_DISUSED flag should also be set on
the generated Node or Way.
|
static short |
M_LOCALIZABLE
Specify that the value of this tag can be localized.
|
static short |
M_NODE_ONLY
Specify that this tag applies to Nodes.
|
static short |
M_RELATION_ONLY
Specify that this tag applies to Relations.
|
static short |
M_WAY_ONLY
Specify that this tag applies to Ways.
|
static short |
M_YES_NO_ONLY
This tag only has "yes" or "no" values.
|
static short |
MASK_CLASS_SPECIFIC
Specify the set of flags that indicate a record-type specific tag.
|
java.lang.Class<? extends java.lang.Enum> |
osmEnumType
The data type for the enumeration used for the value of this tag, or null if not an enumerated
value or multiple possible types.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
decodeValue(java.lang.String value)
Translate the specified key's value to the appropriate data type.
|
static void |
initValueMap()
Load the hashmap that translates string into enum value instances, including using aliases
for the official enums.
|
boolean |
supports(GenericTaggedNode obj)
Report whether this tag key applies to this class of GenericTaggedNode.
|
static SupportedTagKeys |
value(java.lang.String name)
Get the SupportedTagKey enum corresponding to the specified name.
|
static SupportedTagKeys |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SupportedTagKeys[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SupportedTagKeys highway
Highwaypublic static final SupportedTagKeys waterway
Waterwaypublic static final SupportedTagKeys railway
Railwaypublic static final SupportedTagKeys aeroway
Aerowaypublic static final SupportedTagKeys power
Powerpublic static final SupportedTagKeys amenity
AmenityTypepublic static final SupportedTagKeys craft
AmenityTypepublic static final SupportedTagKeys office
AmenityTypepublic static final SupportedTagKeys shop
AmenityTypepublic static final SupportedTagKeys emergency
AmenityTypepublic static final SupportedTagKeys historic
Historicpublic static final SupportedTagKeys boundary
Boundarypublic static final SupportedTagKeys internet_access
public static final SupportedTagKeys area
public static final SupportedTagKeys abandoned
public static final SupportedTagKeys building
public static final SupportedTagKeys subway
public static final SupportedTagKeys bridge
public static final SupportedTagKeys lit
public static final SupportedTagKeys tunnel
public static final SupportedTagKeys oneway
public static final SupportedTagKeys toll
public static final SupportedTagKeys name
public static final SupportedTagKeys name_en
public static final SupportedTagKeys ref
public static final SupportedTagKeys old_ref
public static final SupportedTagKeys border_type
BorderTypepublic static final SupportedTagKeys natural
Naturalpublic static final SupportedTagKeys water
Waterpublic static final SupportedTagKeys man_made
Man_Madepublic static final SupportedTagKeys landuse
LandUsepublic static final SupportedTagKeys icao
public static final SupportedTagKeys leisure
Leisurepublic static final SupportedTagKeys fixme
public static final SupportedTagKeys width
public static final SupportedTagKeys lanes
public static final SupportedTagKeys island
public static final SupportedTagKeys place
Placepublic static final SupportedTagKeys layer
public static final SupportedTagKeys admin_level
boundary or border_type.public static final SupportedTagKeys type
public static final SupportedTagKeys maxspeed
public static final SupportedTagKeys maxheight
public static final SupportedTagKeys maxweight
public static final SupportedTagKeys hazmat
public static final SupportedTagKeys religion
Religionpublic static final SupportedTagKeys tourism
AmenityType,
Tourismpublic static final short M_LOCALIZABLE
public static final short M_WAY_ONLY
public static final short M_NODE_ONLY
public static final short M_YES_NO_ONLY
public static final short M_RELATION_ONLY
public static final short M_ALTERNATE
public static final short M_DISUSED
public static final short M_BUILDING_AMENITY
public static final short MASK_CLASS_SPECIFIC
public final short flags
M_LOCALIZABLE,
M_NODE_ONLY,
M_RELATION_ONLY,
M_WAY_ONLY,
M_YES_NO_ONLYpublic final OSMLayerEnum logicalEnum
public final java.lang.Class<? extends java.lang.Enum> osmEnumType
public final boolean isAmenityOrWay
osmEnumType,
WayType,
AmenityType,
AmenityOrWaypublic static SupportedTagKeys[] values()
for (SupportedTagKeys c : SupportedTagKeys.values()) System.out.println(c);
public static SupportedTagKeys valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static void initValueMap()
public static SupportedTagKeys value(java.lang.String name)
name - String name or alias of SupportedTagKey to findpublic final boolean supports(GenericTaggedNode obj)
obj - GenericTaggedNode to testpublic java.lang.Object decodeValue(java.lang.String value)
value - String attribute value from the XML file