package etl
Type Members
- case class DirLocation(dirLocationID: Int, dirLocationDirection: Boolean) extends Product with Serializable
- case class ExitEntryInformation(isExitOrEntry: Boolean, oppositeDir: Boolean, dirLocation: Option[DirLocation], exitEntryPoint: Option[WGS84Coordinates], sequenceNumberExitEntry: Option[SequenceNumberExitEntry]) extends Product with Serializable
-
case class
ExtendedTMCLocationReference(specVersionID: String, tmcLocation: Option[TMCLocationReference], tmcExitEntryLocation: Option[TMCExitEntryLocationReference]) extends Method with Product with Serializable
Container for an extended TMC location reference.
Container for an extended TMC location reference.
The use of
tmcLocation
andtmcExitEntryLocation
is mutually exclusive. Note that the location library reference resolvers and creators do not supporttmcExitEntryLocation
.- specVersionID
The version of the extended TMC specification used to create this reference. The String representation has to match the following format
{major}.{minor}
, wheremajor
andminor
are numbers between 0 and 15 as the binary representation uses a byte for this field.- tmcLocation
TMC location reference
- tmcExitEntryLocation
Extension to TMC-Location to address entries and/or exits of a given point location. Not supported by the location library reference resolvers and creators.
-
case class
PreciseTMCInformation(distanceAccuracy: Option[Short], hazardDistance1: Option[Short], hazardDistance2: Option[Int], problemLength1: Option[Short], problemLength2: Option[Int]) extends Product with Serializable
Precise TMC-Information as defined in ISO 17572-2.
Precise TMC-Information as defined in ISO 17572-2. Adds offsets to TMC locations.
- distanceAccuracy
The accuracy of the underlying information, with the following encoding: 0 = 100m (default value), 1 = 500m, 2 = 1km, 3 = more than 1km.
- hazardDistance1
The distance from the primary location to the start of the referenced location, also known as D1. The unit is 100m, i.e. the range is up to 25km.
- hazardDistance2
The same as
hazardDistance1
but the range is up to 6553km.- problemLength1
Distance from the start of the problem to the end of the problem. The unit is 100m, i.e. the is up to 25km.
- problemLength2
The same as
problemLength1
but the range is up to 6553km.
- case class SequenceNumberExitEntry(sequenceNumberExitEntry: Short, totalNumberOfExitEntries: Short) extends Product with Serializable
- case class TMCExitEntryLocationReference(tmcLocation: TMCLocationReference, exitEntryInformations: Seq[ExitEntryInformation]) extends Product with Serializable
-
case class
TMCLocationReference(locationID: Int, countryCode: Short, locationTableNumber: Short, direction: Boolean, bothDirections: Boolean, extent: Option[Short], extendedCountryCode: Option[Short], locationTableVersion: Option[Long], preciseTMCInfo: Option[PreciseTMCInformation], useInternalPrimaryLocation: Boolean, useInternalSecondaryLocation: Boolean) extends Product with Serializable
A TMC location reference as specified in ISO 17572.
A TMC location reference as specified in ISO 17572. Additionally, it supports flags to indicate whether the internal location parts of the primary and the secondary location are also included.
- locationID
The number of the of the primary location in the location table. It is an unsigned 16-bit integer, that is a number between 1 and 65535. It is customarily represented as a decimal number.
- countryCode
The country code is used to identify the correct location table. This is a number between 1 and 15. It is customarily represented as a single hexadecimal digit.
- locationTableNumber
The number of the location table. This is a number between 1-63. It is customarily represented as a two digit decimal number.
- direction
Indicates whether to follow the positive direction (
true
) to go from primary to secondary or whether to follow the negative direction (false
).- bothDirections
Indicates whether both directions are considered part of the referenced location.
- extent
Number of locations along the linear to get from the primary location to the secondary location following the direction given in
direction
. A value of None is equivalent to Some(0) and means that only the internal of the primary location is part of the referenced location.- extendedCountryCode
The extended country code is used to identify the table. It is an unsigned 8-bit integer. It is customarily represented as a two digit hexadecimal number.
- locationTableVersion
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.
- preciseTMCInfo
Offsets to give a more precise location.
- useInternalPrimaryLocation
Flag that indicates whether the internal part of the primary location is also considered to be part of the referenced location.
- useInternalSecondaryLocation
Flag that indicates whether the internal part of the secondary location is also considered to be part of the referenced location.
- case class WGS84Coordinates(wgs84Longitude: Int, wgs84Latitude: Int) extends Product with Serializable