package referencing
- Alphabetic
- Public
- All
Type Members
-
case class
AccessPoint(vertex: Vertex, fraction: Double, sideOfRoad: SideOfRoad, orientation: PointOrientation) extends ReferencingLocation with Product with Serializable
An access point defined by a point along a
LinearLocation
.An access point defined by a point along a
LinearLocation
.- vertex
The exact vertex, part of the linear location, that the access point is.
- fraction
A fraction (0.0;1.0) in
vertex
where the access point is.- sideOfRoad
The side of the road the access point is.
- orientation
The orientation of the access point.
-
case class
BidirectionalLinearLocation(location: LinearLocation, oppositeLocation: Option[LinearLocation]) extends ReferencingLocation with Product with Serializable
A linear location that has a main direction in the road network and an optional opposite linear location.
A linear location that has a main direction in the road network and an optional opposite linear location.
- location
representing a path in the main direction.
- oppositeLocation
representing a path in the opposite direction.
-
case class
CircleLocation(latitude: Double, longitude: Double, radiusInMeters: Double) extends ReferencingLocation with Product with Serializable
A location represented by a circle.
A location represented by a circle.
- radiusInMeters
The radius of the circle in number of meters.
-
case class
ClosedLinearLocation(path: Seq[Vertex]) extends ReferencingLocation with Product with Serializable
A closed path in the road network expressed in the Location Library's data model.
A closed path in the road network expressed in the Location Library's data model.
- path
The vertices for this location. The vertices are expected to be connected and traversable in the order in which they appear.
-
case class
GeoCoordinateLocation(latitude: Double, longitude: Double) extends ReferencingLocation with GeoCoordinateHolder with Product with Serializable
A location represented by a pair of geocoordinates.
-
case class
GridLocation(northLatitude: Double, southLatitude: Double, eastLongitude: Double, westLongitude: Double, rows: Int, columns: Int) extends ReferencingLocation with Product with Serializable
A grid of rectangles.
A grid of rectangles.
A grid is defined in terms of a base rectangle and a number of rows and columns. The number of rows and columns describe how the base rectangle is replicated to define the grid. It is multiplied to the north by the the number of rows and to the east by the number of columns.
For example (
X
denotes the base rectangle):North (rows) ^ | +-----+-----+ | 3 | | | | +-----+-----+ | 2 | | | | +-----+-----+ | 1 |XXXXX| | | +-----+-----+ | 1 2 +-------------------> East (columns)
- rows
The number of rows in the grid.
- columns
The number of columns in the grid.
-
case class
LinearLocation(path: Seq[Vertex], startOffset: Double = 0.0, endOffset: Double = 1.0) extends ReferencingLocation with Product with Serializable
A path in the road network expressed in the Location Library's data model.
A path in the road network expressed in the Location Library's data model.
- path
The vertices for this location. The vertices are expected to be connected and traversable in the order in which they appear.
- startOffset
A relative offset for the first vertex, indicating where the linear location starts. It must be in the [0.0; 1.0) range. 0.0, for example, indicates that the linear location starts at the beginning of the vertex.
- endOffset
A relative offset for the last vertex, indicating where the linear location ends. It must be in the (0.0; 1.0] range. 1.0, for example, indicates that the whole vertex is part of the location.
-
trait
LocationReferenceCreator[L, LR] extends AnyRef
Creates location references from locations.
Creates location references from locations.
Instances of
LocationReferenceCreator
can be obtained using the factory objectLocationReferenceCreators
.- L
Location type
- LR
Location Reference type
-
class
LocationReferenceCreators extends AnyRef
Provides LocationReferenceCreators factories to create different location reference types from Location Library data model specific representations.
-
trait
LocationReferenceResolver[LR, R] extends AnyRef
Represents a way of resolving location references into map-specific representations.
Represents a way of resolving location references into map-specific representations.
Instances of
LocationReferenceResolver
can be obtained using the factory objectLocationReferenceResolvers
.- LR
Location Reference type
- R
Resolved type
-
class
LocationReferenceResolvers extends AnyRef
Provides LocationReferenceResolvers factories to resolve different location reference types into Location Library data model specific representations.
- class OlrLayers extends AnyRef
-
class
OlrLocationReferenceCreators extends AnyRef
Provides LocationReferenceCreators factories to create different Olr location reference types from Location Library data model specific representations.
-
class
OlrLocationReferenceResolvers extends AnyRef
Provides LocationReferenceResolvers factories to resolve different location reference types into Location Library data model specific representations.
-
case class
PointOfInterest(point: GeoCoordinate, accessPoint: AccessPoint, pathToPoint: Seq[GeoCoordinate]) extends ReferencingLocation with Product with Serializable
A geocoordinate based point of interest (POI).
A geocoordinate based point of interest (POI).
- point
The geocoordinates of the POI.
- accessPoint
The access point for the POI.
- pathToPoint
The path between the access point and the POI's geocoordinates.
-
sealed
trait
PointOrientation extends AnyRef
The orientation of an event in the road.
The orientation of an event in the road.
The event can be in the direction of the line, against the direction of the line, in both directions, or declared as unknown.
-
case class
PolygonLocation(points: Seq[GeoCoordinate]) extends ReferencingLocation with LinearRingHolder[GeoCoordinate] with Product with Serializable
A location surrounded by a sequence of points given as geocoordinates.
A location surrounded by a sequence of points given as geocoordinates.
The polygon is formed by straight lines between each consecutive pair of geopoints. The first and last geopoints also form a pair. A polygon should be formed by at least three geopoints.
- points
At least three geopoints that form the polygon.
-
case class
RectangleLocation(northLatitude: Double, southLatitude: Double, eastLongitude: Double, westLongitude: Double) extends ReferencingLocation with BoundingBoxHolder with Product with Serializable
A location represented by a bounding-box.
-
sealed
trait
ReferencingLocation extends AnyRef
An abstract location using the Location Library's data model.
An abstract location using the Location Library's data model.
Locations can be anything that includes a geo-spatial component, such as points, lines, roads, sequences of roads or polygons.
-
sealed
trait
SideOfRoad extends AnyRef
The side of the road of an event.
The side of the road of an event.
The event can be on the right side, on the left, on both sides, or declared as unknown.
- class TmcLayers extends AnyRef
-
class
TmcLocationReferenceCreators extends AnyRef
Provides LocationReferenceCreators factories to create Tmc location reference types from Location Library data model specific representations.
-
class
TmcLocationReferenceResolvers extends AnyRef
Provides LocationReferenceResolvers factories to resolve different location reference types into Location Library data model specific representations.
Value Members
- object CircleLocation extends Serializable
- object GeoCoordinateLocation extends Serializable
- object GridLocation extends Serializable
- object LinearLocation extends Serializable
-
object
LocationReferenceCreators
Provides LocationReferenceCreators factories to create different location reference types from Location Library data model specific representations.
-
object
LocationReferenceResolvers
Provides LocationReferenceResolvers factories to resolve different location reference types into Location Library data model specific representations.
- object OlrLayers
-
object
OlrLocationReferenceCreators
Provides LocationReferenceCreators factories to create different location reference types from Location Library data model specific representations.
-
object
OlrLocationReferenceResolvers
Provides LocationReferenceResolvers factories to resolve different location reference types into Location Library data model specific representations.
- object PointOrientation
- object PolygonLocation extends Serializable
- object RectangleLocation extends Serializable
- object SideOfRoad
- object TmcLayers
- object TmcLocationReferenceCreators
- object TmcLocationReferenceResolvers