Class PropertyMaps
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProvides factory methods for accessing properties from theadasattributeslayer of Optimized Map for Location Library.static final classDeprecated.static final classDeprecated.UseTopologyAttributes.static final classDeprecated.UseTopologyAttributes.static final classProvides factory methods for accessing properties from thetopologyattributeslayer of Optimized Map for Location Library. -
Constructor Summary
ConstructorsConstructorDescriptionPropertyMaps(OptimizedMapLayers optimizedMap) Creates aPropertyMapsfrom an Optimized Map for Location Library. -
Method Summary
Modifier and TypeMethodDescriptionProvides factory methods for accessing properties from theadasattributeslayer of Optimized Map for Location Library.Deprecated.UsetopologyAttributes().Creates an accessor for the free-flow-speed of aVertex.static RangeBasedPropertyMap<Vertex,Integer> freeFlowSpeed(FreeFlowSpeedLayer freeFlowSpeedLayer) geometry()Creates a map that returns the geometry (in the form ofLineString) of aVertex.static PropertyMap<Vertex,LineStringHolder<GeoCoordinate>> geometry(GeometryLayer geometryLayer) Creates a map that, given aHereMapContentReference, returns the correspondingVertex.static PropertyMap<HereMapContentReference,Vertex> hereMapContentReferenceToVertex(MappingLayer mappingLayer) length()Creates a map that returns the length of aVertex.static PropertyMap<Vertex,Double> length(LengthLayer lengthLayer) Deprecated.UsetopologyAttributes().roadAccess(RoadAccessType accessType) Creates aRangeBasedPropertyMapthat checks whether aVertexis accessible to any type of traffic represented inaccessType.roadAccess(RoadAccessLayer roadAccessLayer) static RangeBasedPropertyMap<Vertex,Boolean> roadAccess(RoadAccessLayer roadAccessLayer, RoadAccessType accessType) Deprecated.UsetopologyAttributes().routingRoadAccess(RoadAccessType accessType) Creates aRangeBasedPropertyMapthat checks whether aVertexis accessible to any type of traffic represented inaccessType.Provides factory methods for accessing properties from thetopologyattributeslayer of Optimized Map for Location Library.Creates aPropertyMapthat retrieves theAccessRestrictionTypes that apply to a turn, a transition between twoVerticesrepresented by anEdge.turnRestrictions(AccessRestrictionType accessRestriction) Creates aPropertyMapthat checks whether a turn, a transition between twoVerticesrepresented by anEdge, is restricted for any type of traffic represented inaccessRestriction.static PropertyMap<Edge,AccessRestrictionType> turnRestrictions(RestrictedManoeuvreLayer restrictedManoeuvreLayer) static PropertyMap<Edge,Boolean> turnRestrictions(RestrictedManoeuvreLayer restrictedManoeuvreLayer, AccessRestrictionType accessRestriction) Creates a map that, given aVertex, returns the correspondingHereMapContentReference.static PropertyMap<Vertex,HereMapContentReference> vertexToHereMapContentReference(MappingLayer mappingLayer)
-
Constructor Details
-
PropertyMaps
Creates aPropertyMapsfrom an Optimized Map for Location Library.
-
-
Method Details
-
hereMapContentReferenceToVertex
Creates a map that, given aHereMapContentReference, returns the correspondingVertex. -
vertexToHereMapContentReference
Creates a map that, given aVertex, returns the correspondingHereMapContentReference. It basically does the opposite mapping as done by the map returned byhereMapContentReferenceToVertex(). -
geometry
Creates a map that returns the geometry (in the form ofLineString) of aVertex. -
length
Creates a map that returns the length of aVertex. -
turnRestrictions
Creates aPropertyMapthat retrieves theAccessRestrictionTypes that apply to a turn, a transition between twoVerticesrepresented by anEdge.Note that, in this context, the word turn can mean going straight.
-
turnRestrictions
Creates aPropertyMapthat checks whether a turn, a transition between twoVerticesrepresented by anEdge, is restricted for any type of traffic represented inaccessRestriction.Note that, in this context, the word turn can mean going straight.
-
roadAccess
Creates aRangeBasedPropertyMapthat retrieves theRoadAccessTypeof aVertex.If a
Vertexis inaccessible, theRangeBasedPropertyMapreturnsList(.RangeBasedProperty(0.0, 1.0,RoadAccess.None))The attribute is "optimistically" derived from four HERE Map Content attributes:
- TopologyAttributes.accessible_by
- TopologyAttributes.travel_direction
- TopologyAttributes.access_permission
- TopologyAttributes.access_restriction
-
roadAccess
Creates aRangeBasedPropertyMapthat checks whether aVertexis accessible to any type of traffic represented inaccessType.If a
Vertexis inaccessible, theRangeBasedPropertyMapreturnsList(.RangeBasedProperty(0.0, 1.0, false))The attribute is "optimistically" derived from four HERE Map Content attributes:
- TopologyAttributes.accessible_by
- TopologyAttributes.travel_direction
- TopologyAttributes.access_permission
- TopologyAttributes.access_restriction
-
routingRoadAccess
Creates aRangeBasedPropertyMapthat retrieves theRoadAccessTypeof aVertex.If a
Vertexis inaccessible, theRangeBasedPropertyMapreturnsList(.RangeBasedProperty(0.0, 1.0,RoadAccess.None))The attribute is "optimistically" derived from four HERE Map Content attributes:
- TopologyAttributes.accessible_by
- TopologyAttributes.travel_direction
- TopologyAttributes.access_permission
- TopologyAttributes.access_restriction
- TopologyAttributes.construction_status
"Optimistically" means that the road is considered open if it is traversable at some point in time.
The difference between this method and
roadAccess()is that underlying layer here excludes under construction roads. -
routingRoadAccess
Creates aRangeBasedPropertyMapthat checks whether aVertexis accessible to any type of traffic represented inaccessType.If a
Vertexis inaccessible, theRangeBasedPropertyMapreturnsList(.RangeBasedProperty(0.0, 1.0, false))The attribute is "optimistically" derived from four HERE Map Content attributes:
- TopologyAttributes.accessible_by
- TopologyAttributes.travel_direction
- TopologyAttributes.access_permission
- TopologyAttributes.access_restriction
- TopologyAttributes.construction_status
"Optimistically" means that the road is considered open if it is traversable at some point in time.
The difference between this method and
roadAccess(RoadAccessType)is that underlying layer here excludes under construction roads. -
freeFlowSpeed
Creates an accessor for the free-flow-speed of aVertex.The attribute is returned in km/h.
-
roadAttributes
Deprecated.UsetopologyAttributes().Provides factory methods for accessing properties from theroadattributeslayer of Optimized Map for Location Library. -
topologyAttributes
Provides factory methods for accessing properties from thetopologyattributeslayer of Optimized Map for Location Library. -
adasAttributes
Provides factory methods for accessing properties from theadasattributeslayer of Optimized Map for Location Library. -
hereMapContentReferenceToVertex
public static PropertyMap<HereMapContentReference,Vertex> hereMapContentReferenceToVertex(MappingLayer mappingLayer) -
vertexToHereMapContentReference
public static PropertyMap<Vertex,HereMapContentReference> vertexToHereMapContentReference(MappingLayer mappingLayer) -
geometry
public static PropertyMap<Vertex,LineStringHolder<GeoCoordinate>> geometry(GeometryLayer geometryLayer) -
length
-
turnRestrictions
public static PropertyMap<Edge,AccessRestrictionType> turnRestrictions(RestrictedManoeuvreLayer restrictedManoeuvreLayer) -
turnRestrictions
public static PropertyMap<Edge,Boolean> turnRestrictions(RestrictedManoeuvreLayer restrictedManoeuvreLayer, AccessRestrictionType accessRestriction) -
roadAccess
public static RangeBasedPropertyMap<Vertex,RoadAccessType> roadAccess(RoadAccessLayer roadAccessLayer) -
roadAccess
public static RangeBasedPropertyMap<Vertex,Boolean> roadAccess(RoadAccessLayer roadAccessLayer, RoadAccessType accessType) -
freeFlowSpeed
public static RangeBasedPropertyMap<Vertex,Integer> freeFlowSpeed(FreeFlowSpeedLayer freeFlowSpeedLayer)
-
TopologyAttributes.