package tmc
- Alphabetic
- Public
- All
Type Members
- class EmptyTmcReferenceException extends TmcResolverException
- class LinearLocationNotRepresentedInTmcException extends TmcCreatorException
- class LinearLocationNotValid extends TmcCreatorException
- class MissingExtendedCountryCodeException extends TmcResolverException
- class NoLinearAvailableException extends TmcResolverException
-
case class
PiecewiseTmcCoverage(parts: Seq[TmcCoverage]) extends Product with Serializable
Generalized result of TMC reference creation.
Generalized result of TMC reference creation.
This is needed as arbitrary
LinearLocation
s are not necessarily representable in TMC, but clients might still be interested in partial results.The following should hold:
- Where the parts touch the start or the end of the original
LinearLocation
they will have appropriatePreciseTMCInformation
to match the originalLinearLocation
.- Those references that are dominated, that is fully covered by a longer reference, are not returned.
- If references overlap, the first (in the direction of the original
LinearLocation
) one will be given the preference.- Should two references have the same coverage an arbitrary one will get eliminated.
- The references are ordered in the direction of the originally requested
LinearLocation
.- parts
Ordered parts of the original linear location, along with their optional TMC coverage.
-
trait
TmcAdjacencyProvider extends AnyRef
A provider capable of returning next and previous locations for a given location with respect to an enclosing linear location.
-
case class
TmcCoverage(location: LinearLocation, reference: Option[TMCLocationReference]) extends Product with Serializable
Associates a com.here.platform.location.referencing.LinearLocation with the reference it is covered by, if there is one.
Associates a com.here.platform.location.referencing.LinearLocation with the reference it is covered by, if there is one.
- location
The part of the originally requested linear location.
- reference
A (uni-directional)com.here.platform.location.tpeg2.etl.TMCLocationReference covering the given
location
. A value ofNone
indicates that this location is not covered by TMC.
-
sealed
class
TmcCreatorException extends Exception
Base exception for TMC creation related errors.
-
case class
TmcId(tableId: TmcTableId, locationCode: Int) extends Product with Serializable
The ID of a specific TMC location.
The ID of a specific TMC location.
- tableId
Identifies the table that the location is in.
- locationCode
An unsigned 16-bit integer that identifies the location within the table. A number between 1 and 65535, it is customarily represented as a decimal number.
-
sealed
class
TmcResolverException extends Exception
Base exception for TMC resolution related errors.
-
case class
TmcTableId(version: Option[Long] = None, extendedCountryCode: Option[Short], countryCode: Short, number: Short) extends Product with Serializable
The TMC id of a specific location table.
The TMC id of a specific location table. It is a composite key that consists of multiple values.
- version
A variable length representation of the table version. If one byte is used then there are 4 bits for the major version and 3 bits for the minor version. If two bytes are used the there are 7 bits for the minor and 7 bits for the major version.
- extendedCountryCode
It is an unsigned 8-bit integer. It is customarily
- countryCode
This is a number between 1 and 15. It is customarily represented as a single hexadecimal digit. represented as a two digit hexadecimal number.
- number
The number of the location table. This is a number between 1-63. It is customarily represented as a two digit decimal number.
- class UnexpectedTmcEntryTypeException extends TmcResolverException
- class UnknownTmcLocationException extends TmcResolverException
Value Members
-
object
TmcAdjacencyProviders
Factory methods for com.here.platform.location.referencing.tmc.TmcAdjacencyProviders
- object TmcId extends Serializable
- object TmcTableId extends Serializable