Class RangeBasedPropertyMapFactory<P>

java.lang.Object
com.here.platform.location.integration.optimizedmap.graph.RangeBasedPropertyMapFactory<P>
Type Parameters:
P - HERE Map Content attribute layer partition type

public class RangeBasedPropertyMapFactory<P> extends Object
Deprecated.
Use methods based on OptimizedMapLayers instead. Since SDK 2.54.
Compiles an attribute layer from HERE Map Content to 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.

param: attributeLoader A TileLoader that loads partitions of layers contained in the HERE Map Content catalog param: mappingLoader A TileLoader for the mapping layer of the Optimized Map for Location Library param: partitionResolver Resolver used to connect output partitions to the input partitions required to compile them param: outputPartitions Partitions of Optimized Map for Location Library RoutingGraph requiring properties. These must be on the same level

  • Constructor Details

  • Method Details

    • createTilesFor

      public <T> scala.collection.immutable.Map<TileId,scala.Option<RangeBasedPropertyTile<T>>> createTilesFor(com.here.platform.location.compilation.heremapcontent.AttributeAccessor<P,T> accessor, scala.reflect.ClassTag<T> evidence$1)
      Deprecated.
      Creates RangeBasedPropertyTiles for a particular attribute.

      Parameters:
      accessor - Specifies how to retrieve the attribute value from an attribute partition of type P
      Returns:
      A map containing the attribute data for all outputPartitions
      Type Parameters:
      T The final output value type
    • createTilesForOverlapping

      public <T> scala.collection.immutable.Map<TileId,scala.Option<OverlappingRangeBasedPropertyTile<T>>> createTilesForOverlapping(com.here.platform.location.compilation.heremapcontent.AttributeAccessor<P,T> accessor, scala.reflect.ClassTag<T> evidence$2)
      Deprecated.
      Creates RangeBasedPropertyTiles for a particular attribute.

      Parameters:
      accessor - Specifies how to retrieve the attribute value from an attribute partition of type P
      Returns:
      A map containing the attribute data for all outputPartitions
      Type Parameters:
      T The final output value type
    • createPropertyMapFor

      public <T> com.here.platform.location.core.graph.RangeBasedPropertyMap<Vertex,T> createPropertyMapFor(com.here.platform.location.compilation.heremapcontent.AttributeAccessor<P,T> accessor, scala.reflect.ClassTag<T> evidence$4)
      Deprecated.
      Creates the PropertyMaps for a particular attribute.

      Parameters:
      accessor - Specifies how to retrieve the attribute value from an attribute partition of type P
      Returns:
      A property map containing the attribute data for all outputPartitions
      Type Parameters:
      T The final output value type