package graph
- Alphabetic
- Public
- All
Type Members
-
trait
AccessRestriction extends AnyRef
List of disjoint
AccessRestrictionType
values that can be combined to create more types using theAccessRestrictionType.union
method.List of disjoint
AccessRestrictionType
values that can be combined to create more types using theAccessRestrictionType.union
method. For example, an access denied toAccessRestriction.Automobile
andAccessRestriction.Truck
could be defined as:AccessRestriction.Automobile.union(AccessRestriction.Truck)
Note that disjoint means that applying the method
AccessRestrictionType.intersect
to any pair of different values returnsfalse
. You can use theAccessRestriction.values()
method to retrieve all these values. -
case class
AccessRestrictionType(mask: Int) extends BitMask[AccessRestrictionType] with Product with Serializable
Represents the access restriction for different types of traffic as a bitmask.
Represents the access restriction for different types of traffic as a bitmask.
For example, a turn restricted for cars and pedestrians would have the
mask
(automobiles | pedestrians).See also AccessRestriction for the exact mask values for each traffic type.
-
class
Graphs extends AnyRef
Creates a Graphs from an Optimized Map for Location Library.
-
class
MappingTile extends AnyRef
Contains the mapping data for a single tile.
Contains the mapping data for a single tile.
The data allows mapping between Location Library Vertices and HERE Map Content Segments.
segmentTileIds
andsegmentIds
are parallel arrays that specify the HERE Map Content partition and URI of HERE Map Content Segments. The information for Segments is stored in the same order as the vertices in the correspondingroutinggraph
GraphTile. As in UndirectedPropertyTile, there is one entry for every pair of vertices corresponding to the same Segment.See also
- Note
Although this object contains Arrays, you should treat it as immutable.
-
class
PropertyMaps extends AnyRef
Creates a PropertyMaps from an Optimized Map for Location Library.
-
trait
RoadAccess extends AnyRef
List of disjoint
RoadAccessType
values that can be combined to create more types using theRoadAccessType.union
method.List of disjoint
RoadAccessType
values that can be combined to create more types using theRoadAccessType.union
method. For example, an access denied toRoadAccess.Automobiles
andRoadAccess.Truck
could be defined as:RoadAccess.Automobile.union(RoadAccess.Truck)
Note that disjoint means that applying the method
RoadAccessType.intersect
to any pair of different values returnsfalse
. You can use theRoadAccess.values
method to retrieve all these values. -
case class
RoadAccessType(mask: Int) extends BitMask[RoadAccessType] with Product with Serializable
Represents the accessibility of a particular stretch of road for different types of traffic as a bitmask.
Represents the accessibility of a particular stretch of road for different types of traffic as a bitmask.
For example, a part of the road that is accessible for cars and pedestrians would have the
mask
(automobiles | pedestrians).See also RoadAccess for the exact mask values for each traffic type.
-
class
TiledHereMapContentReferencePropertyMap extends PropertyMap[Vertex, HereMapContentReference]
Converts an Optimized Map for Location Library Mapping Partition into a PropertyMap searchable by Vertex.
Converts an Optimized Map for Location Library Mapping Partition into a PropertyMap searchable by Vertex.
A MappingTile maps VertexIndices inside that tile to a HereMapContentReference.
-
class
TiledReverseHereMapContentReferencePropertyMap extends PropertyMap[HereMapContentReference, Vertex]
A PropertyMap to retrieve the Vertex for a given HereMapContentReference.
A PropertyMap to retrieve the Vertex for a given HereMapContentReference.
The zoom level of the TileIds on which
tileById
operates, and the zoom level of the TileId referenced by a HereMapContentReference can be different. Typically, one tile of the Optimized Map for Location Library covers several partitions from HERE Map Content. If you convert a reference from HERE Map Content to a Vertex of the Optimized Map for Location Library, the zoom level of the tile referenced by the HereMapContentReference is higher than the zoom level on whichtileById
operates.The
resolver
transforms a TileId at a higher zoom level referenced by a HereMapContentReference to a TileId at a lower zoom level, TileId on whichtileById
can operate.The apply method throws a java.util.NoSuchElementException if it cannot find any Vertex for the provided HereMapContentReference. More specifically, the exception is thrown for any of the following reasons:
- The zoom level of the tile referenced by HereMapContentReference is lower that the one expected by the resolver.
tileById
does not associate the resolved TileId with any MappingTile.- The MappingTile associated with the resolved TileId does not contain any Vertex associated with the provided HereMapContentReference.
See also the
Road Topology & Geometry layer
of HERE Map Content for the exact value of the zoom level used in HERE Map Content and theMapping layer
of the Optimized Map for Location Library for the exact value of the zoom level used in the Optimized Map for Location Library. -
class
RangeBasedPropertyMapFactory[P] extends AnyRef
Compiles an attribute layer from HERE Map Content to com.here.platform.location.core.graph.RangeBasedPropertyMap Key, Value pairs.
Compiles an attribute layer from HERE Map Content to com.here.platform.location.core.graph.RangeBasedPropertyMap Key, Value pairs.
You can use this factory to retrieve properties for use with a graph when absent from Optimized Map for Location Library.
- P
HERE Map Content attribute layer partition type
- Annotations
- @deprecated
- Deprecated
(Since version SDK 2.54) Use methods based on OptimizedMapLayers instead.
Value Members
- object Graphs
- object PropertyMaps
Deprecated Value Members
-
object
RangeBasedPropertyMapFactory
- Annotations
- @deprecated
- Deprecated
(Since version SDK 2.54) Use methods based on OptimizedMapLayers instead.