com.here.platform.location.referencing
OlrLocationReferenceResolvers
Companion class OlrLocationReferenceResolvers
object OlrLocationReferenceResolvers
Provides LocationReferenceResolvers factories to resolve different location reference types into Location Library data model specific representations.
- Alphabetic
- By Inheritance
- OlrLocationReferenceResolvers
- 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 abstractReference[LS](proximitySearch: ProximitySearch[Vertex], graph: DirectedGraph[Vertex, Edge], geometries: PropertyMap[Vertex, LS], lengths: PropertyMap[Vertex, Double], isRoadAccessible: RangeBasedPropertyMap[Vertex, Boolean], functionalClass: RangeBasedPropertyMap[Vertex, FunctionalClass], formOfWay: RangeBasedPropertyMap[Vertex, FormOfWay])(implicit arg0: LineStringOperations[LS]): LocationReferenceResolver[AbstractLocationReference, ReferencingLocation]
This is an experimental API. It may be removed or changed from one version to the next.
This is an experimental API. It may be removed or changed from one version to the next.
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. For the following reference types an com.here.platform.location.referencing.olr.OlrResolverException can be thrown if the reference cannot be resolved:
- com.here.platform.location.tpeg2.olr.LinearLocationReference
- com.here.platform.location.tpeg2.olr.ClosedLinearLocationReference
- com.here.platform.location.tpeg2.olr.PointAlongLineLocationReference
- com.here.platform.location.tpeg2.olr.POIWithAccessPointLocationReference
Specific cases where this can happen are described in the documentation of the exception class.
- Annotations
- @Experimental()
- def apply(optimizedMap: OptimizedMapLayers): OlrLocationReferenceResolvers
- def apply(olrLayers: OlrLayers): OlrLocationReferenceResolvers
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def circle: 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 clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def closedLinear[LS](proximitySearch: ProximitySearch[Vertex], graph: DirectedGraph[Vertex, Edge], geometries: PropertyMap[Vertex, LS], lengths: PropertyMap[Vertex, Double], isRoadAccessible: RangeBasedPropertyMap[Vertex, Boolean], functionalClass: RangeBasedPropertyMap[Vertex, FunctionalClass], formOfWay: RangeBasedPropertyMap[Vertex, FormOfWay])(implicit arg0: LineStringOperations[LS]): LocationReferenceResolver[ClosedLinearLocationReference, ClosedLinearLocation]
This is an experimental API. It may be removed or changed from one version to the next.
This is an experimental API. It may be removed or changed from one version to the next.
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. Specific cases where this can happen are described in the documentation of the exception class.- Annotations
- @Experimental()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def geoCoordinate: 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.
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def grid: 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 hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def linear[LS](proximitySearch: ProximitySearch[Vertex], graph: DirectedGraph[Vertex, Edge], geometries: PropertyMap[Vertex, LS], lengths: PropertyMap[Vertex, Double], isRoadAccessible: RangeBasedPropertyMap[Vertex, Boolean], functionalClass: RangeBasedPropertyMap[Vertex, FunctionalClass], formOfWay: RangeBasedPropertyMap[Vertex, FormOfWay])(implicit arg0: LineStringOperations[LS]): LocationReferenceResolver[LinearLocationReference, LinearLocation]
This is an experimental API. It may be removed or changed from one version to the next.
This is an experimental API. It may be removed or changed from one version to the next.
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. Specific cases where this can happen are described in the documentation of the exception class.- Annotations
- @Experimental()
- 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 olr[LS](proximitySearch: ProximitySearch[Vertex], graph: DirectedGraph[Vertex, Edge], geometries: PropertyMap[Vertex, LS], lengths: PropertyMap[Vertex, Double], isRoadAccessible: RangeBasedPropertyMap[Vertex, Boolean], functionalClass: RangeBasedPropertyMap[Vertex, FunctionalClass], formOfWay: RangeBasedPropertyMap[Vertex, FormOfWay])(implicit arg0: LineStringOperations[LS]): LocationReferenceResolver[OpenLRLocationReference, ReferencingLocation]
This is an experimental API. It may be removed or changed from one version to the next.
This is an experimental API. It may be removed or changed from one version to the next.
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. For the following reference types an com.here.platform.location.referencing.olr.OlrResolverException can be thrown if the reference cannot be resolved:
- com.here.platform.location.tpeg2.olr.LinearLocationReference
- com.here.platform.location.tpeg2.olr.ClosedLinearLocationReference
- com.here.platform.location.tpeg2.olr.PointAlongLineLocationReference
- com.here.platform.location.tpeg2.olr.POIWithAccessPointLocationReference
Specific cases where this can happen are described in the documentation of the exception class.
- Annotations
- @Experimental()
- def poiWithAccessPoint[LS](proximitySearch: ProximitySearch[Vertex], graph: DirectedGraph[Vertex, Edge], geometries: PropertyMap[Vertex, LS], lengths: PropertyMap[Vertex, Double], isRoadAccessible: RangeBasedPropertyMap[Vertex, Boolean], functionalClass: RangeBasedPropertyMap[Vertex, FunctionalClass], formOfWay: RangeBasedPropertyMap[Vertex, FormOfWay])(implicit arg0: LineStringOperations[LS]): LocationReferenceResolver[POIWithAccessPointLocationReference, PointOfInterest]
This is an experimental API. It may be removed or changed from one version to the next.
This is an experimental API. It may be removed or changed from one version to the next.
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. Specific cases where this can happen are described in the documentation of the exception class.- Annotations
- @Experimental()
- def pointAlongLine[LS](proximitySearch: ProximitySearch[Vertex], graph: DirectedGraph[Vertex, Edge], geometries: PropertyMap[Vertex, LS], lengths: PropertyMap[Vertex, Double], isRoadAccessible: RangeBasedPropertyMap[Vertex, Boolean], functionalClass: RangeBasedPropertyMap[Vertex, FunctionalClass], formOfWay: RangeBasedPropertyMap[Vertex, FormOfWay])(implicit arg0: LineStringOperations[LS]): LocationReferenceResolver[PointAlongLineLocationReference, AccessPoint]
This is an experimental API. It may be removed or changed from one version to the next.
This is an experimental API. It may be removed or changed from one version to the next.
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. Specific cases where this can happen are described in the documentation of the exception class. - def polygon: 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 rectangle: 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 finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)