Class TmcLocationReferenceResolvers

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

public class TmcLocationReferenceResolvers extends Object
  • Constructor Details

    • TmcLocationReferenceResolvers

      public TmcLocationReferenceResolvers(TmcLayers tmcLayers)
    • TmcLocationReferenceResolvers

      public TmcLocationReferenceResolvers(TmcLayers tmcLayers, TmcAdjacencyProvider adjacencyProvider)
  • Method Details

    • tmc

      Creates a resolver for simple TMCLocationReferences.

      TMC resolvers return a BidirectionalLinearLocation because TMC location references can, at the same time, refer to the positive and negative parts of the location.

      For details on how TMC works, see the Developer Guide.

      Note that without passing in a valid adjacencyProvider this API only supports resolving references with extent <= 1. To get support for a longer extent an adjacencyProvider needs to be passed in.

      Note that this API only supports decoding of references with a valid extendedCountryCode.

    • extendedTmc

      Creates a resolver for ExtendedTMCLocationReferences.

      ExtendedTMCLocationReference have two fields with location reference: tmcLocation or tmcExitEntryLocation.tmcLocation. Per the standard, only one of these two should be defined. This resolver uses the tmcLocation field by default, and falls back to the other in case the former is not present.

      TMC resolvers return a BidirectionalLinearLocation because TMC location references can, at the same time, refer to the positive and negative parts of the location.

      For details on how TMC works, see the Developer Guide.

      Note that without passing in a valid adjacencyProvider this API only supports resolving references with extent <= 1. To get support for a longer extent an adjacencyProvider needs to be passed in.

      Note that this API only supports decoding of references with a valid extendedCountryCode.

      Note This method has the same behavior as the V2 method of the companion object.

    • tmc

      Creates a resolver for simple TMCLocationReferences.

      TMC resolvers return a BidirectionalLinearLocation because TMC location references can, at the same time, refer to the positive and negative parts of the location.

      For details on how TMC works, see the Developer Guide.

      Note that without passing in a valid adjacencyProvider this API only supports resolving references with extent <= 1. To get support for a longer extent an adjacencyProvider needs to be passed in.

      Note that this API only supports decoding of references with a valid extendedCountryCode.

    • extendedTmc

      Creates a resolver for ExtendedTMCLocationReferences.

      ExtendedTMCLocationReference have two fields with location reference: tmcLocation or tmcExitEntryLocation.tmcLocation. Per the standard, only one of these two should be defined. This resolver uses the tmcLocation field by default, and falls back to the other in case the former is not present.

      TMC resolvers return a BidirectionalLinearLocation because TMC location references can, at the same time, refer to the positive and negative parts of the location.

      For details on how TMC works, see the Developer Guide.

      Note that without passing in a valid adjacencyProvider this API only supports resolving references with extent <= 1. To get support for a longer extent an adjacencyProvider needs to be passed in.

      Note that this API only supports decoding of references with a valid extendedCountryCode.

      Note This method has the same behavior as the V2 method of the companion object.