Class SemanticLocationReferenceResolvers

java.lang.Object
com.here.platform.location.referencing.javadsl.SemanticLocationReferenceResolvers

public class SemanticLocationReferenceResolvers extends Object
This is an experimental API. It may be removed or changed from one version to the next.

Provides factories for LocationReferenceResolvers to resolve semantic location references into Location Library data model specific representations.

  • Constructor Details

    • SemanticLocationReferenceResolvers

      public SemanticLocationReferenceResolvers(OlrLayers olrLayers)
    • SemanticLocationReferenceResolvers

      public SemanticLocationReferenceResolvers(OptimizedMapLayers optimizedMap)
  • Method Details

    • linear

      public LocationReferenceResolver<SemanticLinearLocationReference,LinearLocation> linear(Double searchRadiusInMeters, Double snappingToJunctionDistanceInMeters)
      This is an experimental API. It may be removed or changed in future versions.

      Creates a resolver for SemanticLinearLocationReferences.

      A SemanticLinearLocationReference refers to a path with information on junctions in the road network and thus needs to be resolved against a map. If the reference cannot be resolved an OlrResolverException is thrown. Specific cases where this can happen are described in the documentation of the exception class.

      Parameters:
      searchRadiusInMeters - the radius in meters to search for candidate vertices around each reference point
      snappingToJunctionDistanceInMeters - the maximum distance in meters along a segment within which a junction (or end of drivable road) can be considered as a candidate for a junction reference point
    • linear

      This is an experimental API. It may be removed or changed in future versions.

      Creates a resolver for SemanticLinearLocationReferences.

      A SemanticLinearLocationReference refers to a path with information on junctions in the road network and thus needs to be resolved against a map. If the reference cannot be resolved an OlrResolverException is thrown. Specific cases where this can happen are described in the documentation of the exception class.