Package org.ka2ddo.yaac.osm
Interface AmenityOrWay
- All Known Implementing Classes:
Aeroway
,Attraction
,Barrier
,Diplomatic
,Emergency
,Healthcare
,Highway
,Historic
,LandUse
,Leisure
,Man_Made
,Natural
,Power
,Railway
,SeamarkLandmarkCategory
,SeamarkType
,Tourism
,Water
,Waterway
public interface AmenityOrWay
This interface identifies an OSM enumeration whose individual values could be
amenities or ways, depending on the specific values.
- Author:
- Andrew Pavlin, KA2DDO
-
Method Summary
Modifier and TypeMethodDescriptionGet amenity type associated with this enumeration; only for types that are amenities.wayType()
Report the WayType for rendering this type of Way.
-
Method Details
-
wayType
WayType wayType()Report the WayType for rendering this type of Way.- Returns:
- WayType
-
getAmenityType
AmenityType getAmenityType()Get amenity type associated with this enumeration; only for types that are amenities.- Returns:
- AmenityType for this type, or null if not an amenity
-