Package org.ka2ddo.yaac.osm
Enum Class Man_Made
- All Implemented Interfaces:
Serializable
,Comparable<Man_Made>
,Constable
,AmenityOrWay
,EnumMayHaveFlags
This enum describes the supported types of man_made objects described in OSM.
See the definition of man_made
on the OpenStreetMap wiki.
- Author:
- Andrew Pavlin, KA2DDO
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionGet amenity type associated with this enumeration; only for types that are amenities.short
Indicates any flag bits implied by this enum type.boolean
Indicate if elements of this Man_Made type should be discarded, as they add no value for map rendering.static Man_Made
Get the enum value associated with the string name specified.static Man_Made
Returns the enum constant of this class with the specified name.static Man_Made[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.wayType()
Report the WayType for rendering this type of Way.
-
Enum Constant Details
-
user_defined
-
adit
-
beacon
-
groyne
-
lighthouse
-
mine
-
mineshaft
-
petroleum_well
-
pier
-
pipeline
-
reservior_covered
-
tower
-
wastewater_plant
-
watermill
-
water_tower
-
water_works
-
water_well
-
windmill
-
breakwater
-
communications_tower
-
drinking_fountain
-
dyke
-
kiln
-
obelisk
-
observatory
-
survey_point
-
bridge
-
bunker_silo
-
carpet_hanger
-
chimney
-
crane
-
cross
-
cutline
-
clearcut
-
dovecote
-
embankment
-
flagpole
-
gasometer
-
goods_conveyor
-
island
-
mast
-
monitoring_station
-
offshore_platform
-
pumping_station
-
pumping_rig
-
quay
-
reservoir_covered
-
silo
-
snow_fence
-
snow_net
-
storage_tank
-
street_cabinet
-
surveillance
-
telescope
-
wildlife_crossing
-
works
-
culvert
-
manhole
-
spillway
-
water_tap
-
beehive
-
cairn
-
cellar_entrance
-
column
-
dolphin
-
flare
-
footwear_decontamination
-
gantry
-
guard_stone
-
insect_hotel
-
nesting_site
-
planter
-
spoil_heap
-
stupa
-
tailings_pond
-
torii
-
utility_pole
-
video_wall
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
wayType
Report the WayType for rendering this type of Way.- Specified by:
wayType
in interfaceAmenityOrWay
- Returns:
- WayType
-
getAmenityType
Get amenity type associated with this enumeration; only for types that are amenities.- Specified by:
getAmenityType
in interfaceAmenityOrWay
- Returns:
- AmenityType for this type, or null if not an amenity
-
isDiscardable
public boolean isDiscardable()Indicate if elements of this Man_Made type should be discarded, as they add no value for map rendering.- Returns:
- boolean true if element of this type should be discarded from map importing
-
getFlagMask
public short getFlagMask()Indicates any flag bits implied by this enum type.- Specified by:
getFlagMask
in interfaceEnumMayHaveFlags
- Returns:
- bitmask of flags if this enum implies flags
-
value
Get the enum value associated with the string name specified.- Parameters:
name
- String to convert into an Enum- Returns:
- Man_Made for the string name, or null if no match
-