com.here.platform.location.referencing
TmcLocationReferenceCreators
Companion object TmcLocationReferenceCreators
class TmcLocationReferenceCreators extends AnyRef
Provides LocationReferenceCreators factories to create Tmc location reference types from Location Library data model specific representations.
- Alphabetic
- By Inheritance
- TmcLocationReferenceCreators
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new TmcLocationReferenceCreators(optimizedMap: OptimizedMapLayers)
- new TmcLocationReferenceCreators(optimizedMap: OptimizedMapLayers, adjacencyProvider: TmcAdjacencyProvider)
- new TmcLocationReferenceCreators(tmcLayers: TmcLayers)
- new TmcLocationReferenceCreators(tmcLayers: TmcLayers, adjacencyProvider: TmcAdjacencyProvider)
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. -
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
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. -
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. -
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()