public enum WayType extends java.lang.Enum<WayType> implements EnumMayHaveFlags, EnumWithImageName
Modifier and Type | Method and Description |
---|---|
ColorType |
getColorType()
Get the coloring style that should be used by default for this WayType.
|
int |
getDefaultLaneCount()
Get the number of lanes normally associated with this type of road.
|
short |
getFlagMask()
Indicates any flag bits implied by this enum type.
|
java.lang.String |
getImagePath()
Return the relative path name of the image file for this enum value.
|
byte |
getLayer()
Returns the rendering Z-layer for Ways of this WayType.
|
float |
getMaxLabelZoom()
Get the default maximum zoom level at which labels for this WayType will be rendered.
|
float |
getMaxZoomLevel()
Get the default maximum zoom level at which this WayType will be rendered.
|
OsmLineType |
getStroke()
Get the line-drawing stroke style that should be used by default for this WayType.
|
boolean |
isAdminBoundary()
Indicate if this WayType represents an administrative or political boundary that shouldn't be
tagged with "highway" signs (even if the "ref" tag was used to provide an abbreviated name
for the boundary).
|
static WayType[] |
nonClonedValues()
Get a non-copied ordered array of all the defined WayType enum values.
|
static WayType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WayType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WayType HWY_MOTORWAY
public static final WayType HWY_MOTORWAY_LINK
public static final WayType HWY_TRUNK
public static final WayType HWY_TRUNK_LINK
public static final WayType HWY_PRIMARY
public static final WayType HWY_PRIMARY_LINK
public static final WayType HWY_SECONDARY
public static final WayType HWY_SECONDARY_LINK
public static final WayType HWY_TERTIARY
public static final WayType HWY_RESIDENTIAL
public static final WayType HWY_UNCLASSIFIED
public static final WayType HWY_ROAD
public static final WayType HWY_LIVING_STREET
public static final WayType HWY_SERVICE
public static final WayType HWY_TRACK
public static final WayType HWY_RACEWAY
public static final WayType HWY_SERVICES
public static final WayType HWY_REST_AREA
public static final WayType HWY_BUS_GUIDEWAY
public static final WayType HWY_PATH
public static final WayType HWY_CYCLEWAY
public static final WayType HWY_FOOTWAY
public static final WayType HWY_BRIDLEWAY
public static final WayType HWY_BYWAY
public static final WayType WWY_UNKNOWN
public static final WayType WWY_STREAM
public static final WayType WWY_RIVER
public static final WayType WWY_RIVERBANK
public static final WayType WWY_CANAL
public static final WayType WWY_DITCH
public static final WayType WWY_RAPIDS
public static final WayType WWY_WATERFALL
public static final WayType RWY_RAIL
public static final WayType RWY_TRAM
public static final WayType RWY_LIGHT_RAIL
public static final WayType RWY_DISUSED
public static final WayType RWY_MONORAIL
public static final WayType RWY_UNKNOWN
public static final WayType AWY_UNKNOWN
public static final WayType AWY_AERODROME
public static final WayType AWY_RUNWAY
public static final WayType BDY_UNKNOWN
public static final WayType BDY_LANDUSE_FOREST
public static final WayType BDY_SUBDIVISION
public static final WayType BDY_MARITIME
public static final WayType BDY_COASTLINE
public static final WayType BDY_PARK
public static final WayType BDY_PROTECTED_AREA
public static final WayType BDY_ADMINISTRATIVE
public static final WayType PWR_LINE
public static final WayType DONT_SHOW
public static final WayType AMENITY
public static final WayType NAT_WETLAND
public static final WayType BDY_ADMIN_1
public static final WayType BDY_ADMIN_2
public static final WayType BDY_ADMIN_3
public static final WayType BDY_ADMIN_4
public static final WayType BDY_ADMIN_5
public static final WayType BDY_ADMIN_6
public static final WayType BDY_ADMIN_7
public static final WayType BDY_ADMIN_8
public static final WayType BDY_ADMIN_9
public static final WayType BDY_ADMIN_10
public static final WayType BDY_ADMIN_11
public static final WayType BDY_LANDUSE_GREEN
public static final WayType BDY_LANDUSE_INDUSTRIAL
public static final WayType AWY_TAXIWAY
public static final WayType AWY_APRON
public static final WayType WWY_LAKE
public static final WayType WWY_POND
public static final WayType BDY_LANDUSE_FARM
public static final WayType HWY_CONSTRUCTION
public static final WayType BDY_LANDUSE_LANDFILL
public static final WayType HWY_STEPS
public static final WayType BDY_SHORELINE
public static final WayType NAT_GLACIER
public static final WayType WWY_ROUTE
public static final WayType WWY_SEA
public static final WayType PIPELINE
public static final WayType WALL
public static final WayType FENCE
public static final WayType BDY_TIMEZONE
public static WayType[] values()
for (WayType c : WayType.values()) System.out.println(c);
public static WayType 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 final ColorType getColorType()
public final OsmLineType getStroke()
public final float getMaxZoomLevel()
public final float getMaxLabelZoom()
public static WayType[] nonClonedValues()
public short getFlagMask()
getFlagMask
in interface EnumMayHaveFlags
public byte getLayer()
public int getDefaultLaneCount()
public java.lang.String getImagePath()
getImagePath
in interface EnumWithImageName
public boolean isAdminBoundary()