Packages

object PropertyMaps

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PropertyMaps
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class AdasAttributes extends AnyRef

    Provides factory methods for accessing properties from the adasattributes layer of Optimized Map for Location Library.

  2. class AdvancedNavigationAttributes extends AnyRef

    Provides factory methods for accessing properties from the advancednavigationattributes layer of Optimized Map for Location Library.

  3. class NavigationAttributes extends AnyRef

    Provides factory methods for accessing properties from the navigationattributes layer of Optimized Map for Location Library.

  4. class RoadAttributes extends AnyRef

    Provides factory methods for accessing properties from the roadattributes layer of Optimized Map for Location Library.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply(optimizedMap: OptimizedMapLayers): PropertyMaps

    Creates a PropertyMaps from an Optimized Map for Location Library.

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. def freeFlowSpeed(freeFlowSpeedLayer: FreeFlowSpeedLayer): RangeBasedPropertyMap[Vertex, Int]
  11. def geometry(geometryLayer: GeometryLayer): PropertyMap[Vertex, PackedLineString]
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hereMapContentReferenceToVertex(mappingLayer: MappingLayer): PropertyMap[HereMapContentReference, Vertex]
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def length(lengthLayer: LengthLayer): PropertyMap[Vertex, Double]
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. def roadAccess(roadAccessLayer: RoadAccessLayer, accessType: RoadAccessType): RangeBasedPropertyMap[Vertex, Boolean]
  21. def roadAccess(roadAccessLayer: RoadAccessLayer): RangeBasedPropertyMap[Vertex, RoadAccessType]
  22. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. def turnRestrictions(restrictedManoeuvreLayer: RestrictedManoeuvreLayer, accessRestriction: AccessRestrictionType): PropertyMap[Edge, Boolean]
  25. def turnRestrictions(restrictedManoeuvreLayer: RestrictedManoeuvreLayer): PropertyMap[Edge, AccessRestrictionType]
  26. def vertexToHereMapContentReference(mappingLayer: MappingLayer): PropertyMap[Vertex, HereMapContentReference]
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  30. object AdasAttributes
  31. object AdvancedNavigationAttributes
  32. object NavigationAttributes
  33. object RoadAttributes

Deprecated Value Members

  1. def advancedNavigationAttribute[T](optimizedMap: Catalog, compiledLayerId: String, hereMapContent: Catalog, cacheManager: CacheManager, accessor: AttributeAccessor[AdvancedNavigationAttributesPartition, T])(implicit arg0: ClassTag[T]): RangeBasedPropertyMap[Vertex, T]

    Creates a RangeBasedPropertyMap that compiles one of the HERE Map Content AdvancedNavigationAttributes lazily and on the fly.

    Creates a RangeBasedPropertyMap that compiles one of the HERE Map Content AdvancedNavigationAttributes lazily and on the fly.

    Note: This method does not support attributes with overlapping ranges because, in that case, it is not possible to uniquely determine which attribute value applies at a specific point on a road.

    See also rangeBasedProperty.

    T

    The type of the compiled attribute

    compiledLayerId

    a unique layer id, identifying the AttributeAccessor used for caching purposes.

    accessor

    an AttributeAccessor that extracts the wanted attribute contained in the advanced-navigation-attributes layer of HERE Map Content

    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version SDK 2.54) Use methods based on OptimizedMapLayers instead.

  2. def freeFlowSpeed(optimizedMap: Catalog, cacheManager: DataLoaderProvider): RangeBasedPropertyMap[Vertex, Int]

    Creates an accessor for the free-flow-speed of a com.here.platform.location.inmemory.graph.Vertex.

    Creates an accessor for the free-flow-speed of a com.here.platform.location.inmemory.graph.Vertex.

    The attribute is returned in km/h.

    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version SDK 2.54) Use methods based on OptimizedMapLayers instead.

  3. def geometry(optimizedMap: Catalog, cacheManager: DataLoaderProvider): PropertyMap[Vertex, PackedLineString]

    Creates a map that returns the geometry of a com.here.platform.location.inmemory.graph.Vertex.

    Creates a map that returns the geometry of a com.here.platform.location.inmemory.graph.Vertex.

    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version SDK 2.54) Use methods based on OptimizedMapLayers instead.

  4. def hereMapContentReferenceToVertex(optimizedMap: Catalog, cacheManager: DataLoaderProvider): PropertyMap[HereMapContentReference, Vertex]

    Creates a map that, given a com.here.platform.location.integration.optimizedmap.geospatial.HereMapContentReference, returns the corresponding com.here.platform.location.inmemory.graph.Vertex.

    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version SDK 2.54) Use methods based on OptimizedMapLayers instead.

  5. def length(optimizedMap: Catalog, cacheManager: DataLoaderProvider): PropertyMap[Vertex, Double]

    Creates a map that returns the length of a com.here.platform.location.inmemory.graph.Vertex.

    Creates a map that returns the length of a com.here.platform.location.inmemory.graph.Vertex.

    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version SDK 2.54) Use methods based on OptimizedMapLayers instead.

  6. def navigationAttribute[T](optimizedMap: Catalog, compiledLayerId: String, hereMapContent: Catalog, cacheManager: CacheManager, accessor: AttributeAccessor[NavigationAttributesPartition, T])(implicit arg0: ClassTag[T]): RangeBasedPropertyMap[Vertex, T]

    Creates a RangeBasedPropertyMap that compiles one of the HERE Map Content NavigationAttributes lazily and on the fly.

    Creates a RangeBasedPropertyMap that compiles one of the HERE Map Content NavigationAttributes lazily and on the fly.

    Note: This method does not support attributes with overlapping ranges because, in that case, it is not possible to uniquely determine which attribute value applies at a specific point on a road.

    See also rangeBasedProperty.

    T

    The type of the compiled attribute

    compiledLayerId

    a unique layer id, identifying the AttributeAccessor used for caching purposes.

    accessor

    an AttributeAccessor that extracts the wanted attribute contained in the navigation-attributes layer of HERE Map Content

    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version SDK 2.54) Use methods based on OptimizedMapLayers instead.

  7. def overlappingRangeBasedProperty[P, T](optimizedMap: Catalog, compiledLayerId: String, cacheManager: CacheManager, tileLoader: TileLoader[P], partitionResolver: PartitionResolver, accessor: AttributeAccessor[P, T])(implicit arg0: ClassTag[T]): PropertyMap[Vertex, Seq[RangeBasedProperty[T]]]

    Creates a RangeBasedPropertyMap that compiles an attribute contained in a HERE Map Content layer lazily and on the fly.

    Creates a RangeBasedPropertyMap that compiles an attribute contained in a HERE Map Content layer lazily and on the fly.

    Note: This method does not support attributes with overlapping ranges because, in that case, it is not possible to uniquely determine which attribute value applies at a specific point on a road.

    For convenience, PropertyMaps contains accessors to several HERE Map Content attributes that call this method.

    A HERE Map Content layer may contain different types of attributes. For example, the AdvancedNavigationAttributes layer contains several attribute types, one of which represents speed limits. The returned RangeBasedPropertyMap contains the values for only one attribute type. The AttributeAccessor specifies how to retrieve the values for a given attribute type.

    For instance, the following code snippet shows how to retrieve speed limits:

    val speedLimits: RangeBasedPropertyMap[Vertex, Int] =
      PropertyMaps.rangeBasedProperty(
        optimizedMap,
        "speed-limit",
        cacheManager,
        HereMapContentLayers.AdvancedNavigationAttributes.tileLoader(hereMapContent, cacheManager),
        HereMapContentLayers.AdvancedNavigationAttributes.partitionResolver(optimizedMap, cacheManager),
        AttributeAccessors
          .forHereMapContentSegmentAnchor[AdvancedNavigationAttributesPartition, SpeedLimitAttribute, Int](
            _.speedLimit,
            _.value)
      )

    The compilation of one attribute tile of a HERE Map Content layer is an expensive operation. The compilation of all attributes contained in a tile takes place when, for the first time, a running app retrieves the attribute for a vertex that belongs to this tile. If, later, the running app retrieves attributes for other vertices that belong to the same tile, these operations will be fast because the compilation of such attributes already took place.

    P

    The input data type containing HERE Map Content attributes

    T

    The type of the compiled attribute

    compiledLayerId

    a unique layer id, identifying the AttributeAccessor used for caching purposes.

    tileLoader

    The loader for the tiles containing the desired data

    partitionResolver

    The partition resolver from an Optimized Map tile to all the input tiles, provided by the tileLoader, that are needed to compile the specified attribute

    accessor

    An AttributeAccessor that extracts the attribute contained in the given HERE Map Content layer, or in the layer that follows the HERE Map Content format

    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version SDK 2.54) Use methods based on OptimizedMapLayers instead.

  8. def rangeBasedProperty[P, T](optimizedMap: Catalog, compiledLayerId: String, cacheManager: CacheManager, tileLoader: TileLoader[P], partitionResolver: PartitionResolver, accessor: AttributeAccessor[P, T])(implicit arg0: ClassTag[T]): RangeBasedPropertyMap[Vertex, T]

    Creates a RangeBasedPropertyMap that compiles an attribute contained in a HERE Map Content layer lazily and on the fly.

    Creates a RangeBasedPropertyMap that compiles an attribute contained in a HERE Map Content layer lazily and on the fly.

    Note: This method does not support attributes with overlapping ranges, because in that case, it is not possible to uniquely determine which attribute value applies at a specific point on a road.

    For convenience, PropertyMaps contains accessors to several HERE Map Content attributes that call this method.

    A HERE Map Content layer may contain different types of attributes. For example, the AdvancedNavigationAttributes layer contains several attribute types, one of which represents speed limits. The returned RangeBasedPropertyMap contains the values for only one attribute type. The AttributeAccessor specifies how to retrieve the values for a given attribute type.

    For instance, the following code snippet shows how to retrieve speed limits:

    val speedLimits: RangeBasedPropertyMap[Vertex, Int] =
      PropertyMaps.rangeBasedProperty(
        optimizedMap,
        "speed-limit",
        cacheManager,
        HereMapContentLayers.AdvancedNavigationAttributes.tileLoader(hereMapContent, cacheManager),
        HereMapContentLayers.AdvancedNavigationAttributes.partitionResolver(optimizedMap, cacheManager),
        AttributeAccessors
          .forHereMapContentSegmentAnchor[AdvancedNavigationAttributesPartition, SpeedLimitAttribute, Int](
            _.speedLimit,
            _.value)
      )

    The compilation of one attribute tile of a HERE Map Content layer is an expensive operation. The compilation of all attributes contained in a tile takes place when, for the first time, a running app retrieves the attribute for a vertex that belongs to this tile. If, later, the running app retrieves attributes for other vertices that belong to the same tile, these operations will be fast because the compilation of such attributes already took place.

    See also RangeBasedPropertyMapFactory.

    P

    The input data type containing HERE Map Content attributes

    T

    The type of the compiled attribute

    compiledLayerId

    a unique layer id, identifying the AttributeAccessor used for caching purposes.

    tileLoader

    The loader for the tiles containing the desired data

    partitionResolver

    The partition resolver from an Optimized Map tile to all the input tiles, provided by the tileLoader, that are needed to compile the specified attribute

    accessor

    An AttributeAccessor that extracts the attribute contained in the given HERE Map Content layer, or in the layer that follows the HERE Map Content format

    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version SDK 2.54) Use methods based on OptimizedMapLayers instead.

  9. def roadAccess(optimizedMap: Catalog, cacheManager: DataLoaderProvider, accessType: RoadAccessType): RangeBasedPropertyMap[Vertex, Boolean]

    Creates a RangeBasedPropertyMap that checks whether a Vertex is accessible to any type of traffic represented in accessType.

    Creates a RangeBasedPropertyMap that checks whether a Vertex is accessible to any type of traffic represented in accessType.

    If a Vertex is inaccessible, the RangeBasedPropertyMap returns Seq(RangeBasedProperty(0.0, 1.0, false)).

    The attribute is "optimistically" derived from four HERE Map Content attributes:

    • RoadAttributes.accessible_by
    • NavigationAttributes.travel_direction
    • NavigationAttributes.access_permission
    • NavigationAttributes.access_restriction

    "Optimistically" means that the road is considered open if it is traversable at some point in time.

    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version SDK 2.54) Use methods based on OptimizedMapLayers instead.

  10. def roadAccess(optimizedMap: Catalog, cacheManager: DataLoaderProvider): RangeBasedPropertyMap[Vertex, RoadAccessType]

    Creates a RangeBasedPropertyMap that retrieves the RoadAccessType of a Vertex.

    Creates a RangeBasedPropertyMap that retrieves the RoadAccessType of a Vertex.

    If a Vertex is inaccessible, the RangeBasedPropertyMap returns Seq(RangeBasedProperty(0.0, 1.0, RoadAccess.None)).

    The attribute is "optimistically" derived from four HERE Map Content attributes:

    • RoadAttributes.accessible_by
    • NavigationAttributes.travel_direction
    • NavigationAttributes.access_permission
    • NavigationAttributes.access_restriction

    "Optimistically" means that the road is considered open if it is traversable at some point in time.

    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version SDK 2.54) Use methods based on OptimizedMapLayers instead.

  11. def roadAttribute[T](optimizedMap: Catalog, compiledLayerId: String, hereMapContent: Catalog, cacheManager: CacheManager, accessor: AttributeAccessor[RoadAttributesPartition, T])(implicit arg0: ClassTag[T]): RangeBasedPropertyMap[Vertex, T]

    Creates a RangeBasedPropertyMap that compiles one of the HERE Map Content RoadAttributes lazily and on the fly.

    Creates a RangeBasedPropertyMap that compiles one of the HERE Map Content RoadAttributes lazily and on the fly.

    Note: This method does not support attributes with overlapping ranges because, in that case, it is not possible to uniquely determine which attribute value applies at a specific point on a road.

    See also rangeBasedProperty.

    T

    The type of the compiled attribute

    compiledLayerId

    a unique layer id, identifying the AttributeAccessor used for caching purposes.

    accessor

    an AttributeAccessor that extracts the wanted attribute contained in the road-attributes layer of HERE Map Content

    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version SDK 2.54) Use methods based on OptimizedMapLayers instead.

  12. def turnRestrictions(optimizedMap: Catalog, cacheManager: DataLoaderProvider, accessRestriction: AccessRestrictionType): PropertyMap[Edge, Boolean]

    Creates a PropertyMap that checks whether a turn, a transition between two Vertices represented by an Edge, is restricted for any type of traffic represented in accessRestriction.

    Creates a PropertyMap that checks whether a turn, a transition between two Vertices represented by an Edge, is restricted for any type of traffic represented in accessRestriction.

    Note that, in this context, the word turn can mean going straight.

    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version SDK 2.54) Use methods based on OptimizedMapLayers instead.

  13. def turnRestrictions(optimizedMap: Catalog, cacheManager: DataLoaderProvider): PropertyMap[Edge, AccessRestrictionType]

    Creates a PropertyMap that retrieves the AccessRestrictionTypes that apply to a turn, a transition between two Vertices represented by an Edge.

    Creates a PropertyMap that retrieves the AccessRestrictionTypes that apply to a turn, a transition between two Vertices represented by an Edge.

    Note that, in this context, the word turn can mean going straight.

    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version SDK 2.54) Use methods based on OptimizedMapLayers instead.

  14. def vertexToHereMapContentReference(optimizedMap: Catalog, cacheManager: DataLoaderProvider): PropertyMap[Vertex, HereMapContentReference]

    Creates a map that, given a com.here.platform.location.inmemory.graph.Vertex, returns the corresponding com.here.platform.location.integration.optimizedmap.geospatial.HereMapContentReference.

    Creates a map that, given a com.here.platform.location.inmemory.graph.Vertex, returns the corresponding com.here.platform.location.integration.optimizedmap.geospatial.HereMapContentReference. It basically does the opposite mapping as done by the map returned by hereMapContentReferenceToVertex.

    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version SDK 2.54) Use methods based on OptimizedMapLayers instead.

Inherited from AnyRef

Inherited from Any

Ungrouped