com.here.platform.location.referencing
LocationReferenceCreators
Companion object LocationReferenceCreators
class LocationReferenceCreators extends AnyRef
Provides LocationReferenceCreators factories to create different location reference types from Location Library data model specific representations.
- Alphabetic
- By Inheritance
- LocationReferenceCreators
- 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
-
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
extendedTmc: LocationReferenceCreator[LinearLocation, ExtendedTMCLocationReference]
Generates a creator for com.here.platform.location.tpeg2.etl.ExtendedTMCLocationReferences.
Generates a creator for com.here.platform.location.tpeg2.etl.ExtendedTMCLocationReferences.
This reference creator takes a
LinearLocation
and returns an extended TMC location reference. The extended TMC reference will havepreciseTMCInfo
populated to match theLinearLocation
that was passed in. The resolution of the produced com.here.platform.location.tpeg2.etl.PreciseTMCInformation is 100m. The rounding is done in such a way that the TMC reference covers the full linear location, so it might be up to 100m longer at each end.This creator will always return com.here.platform.location.tpeg2.etl.ExtendedTMCLocationReferences that contain a
tmcLocation
, not atmcExitEntryLocation
.Because TMC relies on pre-coded, shared location tables, it is possible that a LinearLocation can not be encoded in TMC. In such cases the creator will throw a com.here.platform.location.referencing.tmc.TmcCreatorException.
For details on how TMC works, see the Developer Guide.
Note that without passing in a valid
adjacencyProvider
this API only supports creating references withextent
<= 1. In noadjacencyProvider
is given, the creator will fail with a com.here.platform.location.referencing.tmc.NoLinearAvailableException if the given location is not fully covered by the same location code.Note This method has the same behavior as the V2 method of the companion object.
-
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
olr: LocationReferenceCreator[ReferencingLocation, OpenLRLocationReference]
Generates a creator for com.here.platform.location.tpeg2.olr.OpenLRLocationReferences from com.here.platform.location.referencing.ReferencingLocations.
Generates a creator for com.here.platform.location.tpeg2.olr.OpenLRLocationReferences from com.here.platform.location.referencing.ReferencingLocations.
This creator chooses the correct type of OpenLR reference depending on the actual subtype of com.here.platform.location.referencing.ReferencingLocation that is being passed in.
-
def
olrClosedLinear: LocationReferenceCreator[ClosedLinearLocation, ClosedLinearLocationReference]
Generates a creator for com.here.platform.location.tpeg2.olr.ClosedLinearLocationReferences.
Generates a creator for com.here.platform.location.tpeg2.olr.ClosedLinearLocationReferences.
A
ClosedLinearLocationReference
refers to a closed path in the road network and thus needs to be created against a map. -
def
olrLinear: LocationReferenceCreator[LinearLocation, LinearLocationReference]
Generates a creator for com.here.platform.location.tpeg2.olr.LinearLocationReferences.
Generates a creator for com.here.platform.location.tpeg2.olr.LinearLocationReferences.
As a
LinearLocationReference
refers to a path in the road network, you need to create this reference against a map. -
def
olrPoiWithAccessPoint: LocationReferenceCreator[PointOfInterest, POIWithAccessPointLocationReference]
Generates a creator for com.here.platform.location.tpeg2.olr.POIWithAccessPointLocationReferences.
Generates a creator for com.here.platform.location.tpeg2.olr.POIWithAccessPointLocationReferences.
A
POIWithAccessPointLocationReference
refers to an access point on a road section and thus needs to be created against a map. -
def
olrPointAlongLine: LocationReferenceCreator[AccessPoint, PointAlongLineLocationReference]
Generates a creator for com.here.platform.location.tpeg2.olr.PointAlongLineLocationReferences.
Generates a creator for com.here.platform.location.tpeg2.olr.PointAlongLineLocationReferences.
A
PointAlongLineLocationReference
refers to a point on a road section and thus needs to be created against a map. -
def
piecewiseExtendedTmc: LocationReferenceCreator[LinearLocation, PiecewiseTmcCoverage]
Generates a creator for com.here.platform.location.referencing.tmc.PiecewiseTmcCoverage.
Generates a creator for com.here.platform.location.referencing.tmc.PiecewiseTmcCoverage.
Because TMC relies on pre-coded, shared location tables, it is possible that a LinearLocation can not be encoded or not fully encoded in TMC.
This reference creator takes a LinearLocation and returns the potentially piecewise TMC coverage for those parts of the given
LinearLocation
that can be encoded into TMC.The extended TMC references will have
preciseTMCInfo
populated to match the LinearLocation that was passed in. The resolution of the producedpreciseTMCInfo
is 100m. The rounding is done in such a way that the TMC reference covers the full linear location, so it might be up to 100m longer at each end.This creator will always return com.here.platform.location.referencing.tmc.PiecewiseTmcCoverages that contain com.here.platform.location.tpeg2.etl.TMCLocationReferences, not com.here.platform.location.tpeg2.etl.TMCExitEntryLocationReferences.
For details on how TMC works, see the Developer Guide.
Note that without passing in a valid
adjacencyProvider
this API only supports creating references withextent
<= 1. If noadjacencyProvider
is given, the creator will create multiple location references, one reference for each location code on the path.Note This method has the same behavior as the V2 method of the companion object.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
tmc: LocationReferenceCreator[LinearLocation, TMCLocationReference]
Generates a creator for simple com.here.platform.location.tpeg2.tmc.TMCLocationReferences.
Generates a creator for simple com.here.platform.location.tpeg2.tmc.TMCLocationReferences.
This reference creator takes a LinearLocation and returns a simple TMC location reference. The simple TMC reference will have
preciseTMCInfo
populated to match the LinearLocation that was passed in. The resolution of the produced com.here.platform.location.tpeg2.etl.PreciseTMCInformation is 100m. The rounding is done in such a way that the TMC reference covers the full linear location, so it might be up to 100m longer at each end.Because TMC relies on pre-coded, shared location tables, it is possible that a LinearLocation can not be encoded in TMC. In such cases the creator will throw a com.here.platform.location.referencing.tmc.TmcCreatorException.
For details on how TMC works, see the Developer Guide.
Note that without passing in a valid
adjacencyProvider
this API only supports creating references withextent
<= 1. In noadjacencyProvider
is given, the creator will fail with a com.here.platform.location.referencing.tmc.NoLinearAvailableException if the given location is not fully covered by the same location code.Note This method has the same behavior as the V2 method of the companion object.
-
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()