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
- All
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( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @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
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @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(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
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.
ExtendedTMCLocationReference
have two fields with location reference:tmcLocation
ortmcExitEntryLocation.tmcLocation
. Per the standard, only one of these two should be defined. This resolver uses thetmcLocation
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.
- optimizedMap
An Optimized Map for Location Library instance.
- adjacencyProvider
The
adjacencyProvider
is needed to decode references withextent
> 1.
- Annotations
- @Deprecated @deprecated
- Deprecated
(Since version SDK 2.54) Use methods based on OptimizedMapLayers instead.
-
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
ClosedLinearLocationReference
refers 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.OlrException 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
LinearLocationReference
refers 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.OlrException 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
POIWithAccessPointLocationReference
refers 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.OlrException 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
PointAlongLineLocationReference
refers 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.OlrException 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
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.
- optimizedMap
An Optimized Map for Location Library instance
- adjacencyProvider
The
adjacencyProvider
is needed to decode references withextent
> 1.
- Annotations
- @Deprecated @deprecated
- Deprecated
(Since version SDK 2.54) Use methods based on OptimizedMapLayers instead.