c

com.here.platform.location.referencing

SemanticLinearLocationReference

case class SemanticLinearLocationReference(linearLocationReference: LinearLocationReference, firstPointPreciseCoordinate: GeoCoordinate, lastPointPreciseCoordinate: GeoCoordinate, isFirstPointAtJunction: Boolean = false, isLastPointAtJunction: Boolean = false) extends Product with Serializable

This is an experimental API. It may be removed or changed from one version to the next.

Wraps a com.here.platform.location.tpeg2.olr.LinearLocationReference with precise coordinates and junction information about the first and last reference points.

Note that:

  • Intermediate reference points should be added to the underlying reference only when needed to disambiguate between two possible routes, and they should be placed as far as possible from both the first and the last reference points.
  • Offsets in the underlying reference represent a fraction of a segment, obtained by dividing the offset by the reference length (the sum of the distances between consecutive reference points, i.e. dnp in the underlying reference). They are applied on top of the resolved reference points, regardless of whether those points are marked as junctions.
  • The precise coordinates are always used instead of the coordinates of the first and last reference points when resolving the location reference.
linearLocationReference

underlying linear location reference

firstPointPreciseCoordinate

precise coordinate used instead of the first reference point coordinate

lastPointPreciseCoordinate

precise coordinate used instead of the last reference point coordinate

isFirstPointAtJunction

flag indicating whether the first reference point is a junction

isLastPointAtJunction

flag indicating whether the last reference point is a junction

Annotations
@Experimental()
Linear Supertypes
Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SemanticLinearLocationReference
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new SemanticLinearLocationReference(linearLocationReference: LinearLocationReference, firstPointPreciseCoordinate: GeoCoordinate, lastPointPreciseCoordinate: GeoCoordinate, isFirstPointAtJunction: Boolean = false, isLastPointAtJunction: Boolean = false)

    linearLocationReference

    underlying linear location reference

    firstPointPreciseCoordinate

    precise coordinate used instead of the first reference point coordinate

    lastPointPreciseCoordinate

    precise coordinate used instead of the last reference point coordinate

    isFirstPointAtJunction

    flag indicating whether the first reference point is a junction

    isLastPointAtJunction

    flag indicating whether the last reference point is a junction

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. val firstPointPreciseCoordinate: GeoCoordinate
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  9. val isFirstPointAtJunction: Boolean
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. val isLastPointAtJunction: Boolean
  12. val lastPointPreciseCoordinate: GeoCoordinate
  13. val linearLocationReference: LinearLocationReference
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  17. def productElementNames: Iterator[String]
    Definition Classes
    Product
  18. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  19. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  20. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  21. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped