com.here.platform.location.referencing
LocationReferenceResolvers
Companion class LocationReferenceResolvers
object LocationReferenceResolvers
Provides LocationReferenceResolvers factories to resolve different location reference types into Location Library data model specific representations.
- Alphabetic
- By Inheritance
- LocationReferenceResolvers
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply(optimizedMap: OptimizedMapLayers, adjacencyProvider: TmcAdjacencyProvider): LocationReferenceResolvers
- def apply(optimizedMap: OptimizedMapLayers): LocationReferenceResolvers
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def olrCircle: LocationReferenceResolver[CircleLocationReference, CircleLocation]
Creates a resolver for com.here.platform.location.tpeg2.olr.CircleLocationReferences.
Creates a resolver for com.here.platform.location.tpeg2.olr.CircleLocationReferences.
A circle location is given by a geo-location of the center of the circle and its radius.
Real-world examples include a Wi-Fi hotspot with its signal range, or the center and radius used with a proximity search.
This reference type is disconnected from the road network, and does not require a catalog to be resolved.
- def olrGeoCoordinate: LocationReferenceResolver[GeoCoordinateLocationReference, GeoCoordinateLocation]
Creates a resolver for com.here.platform.location.tpeg2.olr.GeoCoordinateLocationReference.
Creates a resolver for com.here.platform.location.tpeg2.olr.GeoCoordinateLocationReference.
OLR's geocoordinates are represented by integer values. This resolver converts them back to WGS84 coordinates.
This reference type is disconnected from the road network, and does not require a catalog to be resolved.
- def olrGrid: LocationReferenceResolver[GridLocationReference, GridLocation]
Creates a resolver for com.here.platform.location.tpeg2.olr.GridLocationReferences.
Creates a resolver for com.here.platform.location.tpeg2.olr.GridLocationReferences.
Grid locations are defined in terms of a base rectangle location and a number of rows and columns. The base rectangle is multiplied to the north by the the number of rows and to the east by the number of columns.
Weather reports are a real-world example for this reference type. For instance, average rainfall could be defined for every cell of the grid.
This reference type is disconnected from the road network, and does not require a catalog to be resolved.
GridLocation provides methods to retrieve all the bounding boxes that compose the grid.
- def olrPolygon: LocationReferenceResolver[PolygonLocationReference, PolygonLocation]
Creates a resolver for com.here.platform.location.tpeg2.olr.PolygonLocationReferences.
Creates a resolver for com.here.platform.location.tpeg2.olr.PolygonLocationReferences.
A polygon location is a non-intersecting shape defined by a sequence of geocoordinate pairs. It can be used to represent any complex area in the map, like a low emission zone, or an area where traffic is overloaded.
This reference type is disconnected from the road network, and does not require a catalog to be resolved.
- def olrRectangle: LocationReferenceResolver[RectangleLocationReference, RectangleLocation]
Creates a resolver for com.here.platform.location.tpeg2.olr.RectangleLocationReferences.
Creates a resolver for com.here.platform.location.tpeg2.olr.RectangleLocationReferences.
A rectangle location reference is based on rectangular shapes and is defined in terms of a pair of geopoints, defining north/south latitude limits, and east/west longitude limits.
This reference type is disconnected from the road network, and does not require a catalog to be resolved.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def extendedTmcV2(optimizedMap: Catalog, cacheManager: DataLoaderProvider, adjacencyProvider: TmcAdjacencyProvider = ThrowingTmcAdjacencyProvider): LocationReferenceResolver[ExtendedTMCLocationReference, BidirectionalLinearLocation]
Creates a resolver for com.here.platform.location.tpeg2.etl.ExtendedTMCLocationReferences.
Creates a resolver for com.here.platform.location.tpeg2.etl.ExtendedTMCLocationReferences.
ExtendedTMCLocationReferencehave two fields with location reference:tmcLocationortmcExitEntryLocation.tmcLocation. Per the standard, only one of these two should be defined. This resolver uses thetmcLocationfield by default, and falls back to the other in case the former is not present.TMC resolvers return a
BidirectionalLinearLocationbecause 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.
- optimizedMap
An Optimized Map for Location Library instance.
- adjacencyProvider
The
adjacencyProvideris needed to decode references withextent> 1.
- Annotations
- @Deprecated @deprecated
- Deprecated
(Since version SDK 2.54) Use methods based on OptimizedMapLayers instead.
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)
- def olr(optimizedMap: Catalog, cacheManager: DataLoaderProvider): LocationReferenceResolver[OpenLRLocationReference, ReferencingLocation]
Creates a resolver that resolves com.here.platform.location.tpeg2.olr.OpenLRLocationReferences to com.here.platform.location.referencing.ReferencingLocations.
Creates a resolver that resolves com.here.platform.location.tpeg2.olr.OpenLRLocationReferences to com.here.platform.location.referencing.ReferencingLocations.
This resolver chooses the correct type of com.here.platform.location.referencing.ReferencingLocation based on the type the OpenLR reference that is being passed in.
- optimizedMap
An Optimized Map for Location Library instance.
- Annotations
- @Deprecated @deprecated
- Deprecated
(Since version SDK 2.54) Use methods based on OptimizedMapLayers instead.
- def olrAbstractReference(optimizedMap: Catalog, cacheManager: DataLoaderProvider): LocationReferenceResolver[AbstractLocationReference, ReferencingLocation]
Creates a resolver that resolves com.here.platform.location.tpeg2.olr.AbstractLocationReferences to com.here.platform.location.referencing.ReferencingLocations.
Creates a resolver that resolves com.here.platform.location.tpeg2.olr.AbstractLocationReferences to com.here.platform.location.referencing.ReferencingLocations.
This resolver chooses the correct type of com.here.platform.location.referencing.ReferencingLocation based on the type the OpenLR reference that is being passed in.
- optimizedMap
An Optimized Map for Location Library instance.
- Annotations
- @Deprecated @deprecated
- Deprecated
(Since version SDK 2.54) Use methods based on OptimizedMapLayers instead.
- def olrClosedLinear(optimizedMap: Catalog, cacheManager: DataLoaderProvider): LocationReferenceResolver[ClosedLinearLocationReference, ClosedLinearLocation]
Creates a resolver for com.here.platform.location.tpeg2.olr.ClosedLinearLocationReferences.
Creates a resolver for com.here.platform.location.tpeg2.olr.ClosedLinearLocationReferences.
A
ClosedLinearLocationReferencerefers to a closed path in the road network and thus needs to be resolved against a map. If the reference cannot be resolved an com.here.platform.location.referencing.olr.OlrResolverException is thrown.- optimizedMap
An Optimized Map for Location Library instance.
- Annotations
- @Deprecated @deprecated
- Deprecated
(Since version SDK 2.54) Use methods based on OptimizedMapLayers instead.
- def olrLinear(optimizedMap: Catalog, cacheManager: DataLoaderProvider): LocationReferenceResolver[LinearLocationReference, LinearLocation]
Creates a resolver for com.here.platform.location.tpeg2.olr.LinearLocationReferences.
Creates a resolver for com.here.platform.location.tpeg2.olr.LinearLocationReferences.
A
LinearLocationReferencerefers to a path in the road network and thus needs to be resolved against a map. If the reference cannot be resolved an com.here.platform.location.referencing.olr.OlrResolverException is thrown.- optimizedMap
An Optimized Map for Location Library instance.
- Annotations
- @Deprecated @deprecated
- Deprecated
(Since version SDK 2.54) Use methods based on OptimizedMapLayers instead.
- def olrPoiWithAccessPoint(optimizedMap: Catalog, cacheManager: DataLoaderProvider): LocationReferenceResolver[POIWithAccessPointLocationReference, PointOfInterest]
Creates a resolver for com.here.platform.location.tpeg2.olr.POIWithAccessPointLocationReferences.
Creates a resolver for com.here.platform.location.tpeg2.olr.POIWithAccessPointLocationReferences.
A
POIWithAccessPointLocationReferencerefers to an accesspoint point on a road section and thus needs to be resolved against a map. If the reference cannot be resolved an com.here.platform.location.referencing.olr.OlrResolverException is thrown.- optimizedMap
An Optimized Map for Location Library instance.
- Annotations
- @Deprecated @deprecated
- Deprecated
(Since version SDK 2.54) Use methods based on OptimizedMapLayers instead.
- def olrPointAlongLine(optimizedMap: Catalog, cacheManager: DataLoaderProvider): LocationReferenceResolver[PointAlongLineLocationReference, AccessPoint]
Creates a resolver for com.here.platform.location.tpeg2.olr.PointAlongLineLocationReferences.
Creates a resolver for com.here.platform.location.tpeg2.olr.PointAlongLineLocationReferences.
A
PointAlongLineLocationReferencerefers to a point on a road section and thus needs to be resolved against a map. If the reference cannot be resolved an com.here.platform.location.referencing.olr.OlrResolverException is thrown.- optimizedMap
An Optimized Map for Location Library instance.
- Annotations
- @Deprecated @deprecated
- Deprecated
(Since version SDK 2.54) Use methods based on OptimizedMapLayers instead.
- def tmc(optimizedMap: Catalog, cacheManager: DataLoaderProvider, adjacencyProvider: TmcAdjacencyProvider = ThrowingTmcAdjacencyProvider): LocationReferenceResolver[TMCLocationReference, BidirectionalLinearLocation]
Creates a resolver for simple com.here.platform.location.tpeg2.tmc.TMCLocationReferences.
Creates a resolver for simple com.here.platform.location.tpeg2.tmc.TMCLocationReferences.
TMC resolvers return a
BidirectionalLinearLocationbecause 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.
- optimizedMap
An Optimized Map for Location Library instance
- adjacencyProvider
The
adjacencyProvideris needed to decode references withextent> 1.
- Annotations
- @Deprecated @deprecated
- Deprecated
(Since version SDK 2.54) Use methods based on OptimizedMapLayers instead.