Packages

  • package root
    Definition Classes
    root
  • package com
    Definition Classes
    root
  • package nvidia
    Definition Classes
    com
  • package mdx

    this is the base transform for mdx analytics SDK, the transform comprise of

    this is the base transform for mdx analytics SDK, the transform comprise of


    core : mdx streaming core classes
    xapp : comprise of sample applications

    Definition Classes
    nvidia
  • package core

    this is the core transform for mdx SDK, contains transform and classes for the core mdx functionality

    this is the core transform for mdx SDK, contains transform and classes for the core mdx functionality

    Definition Classes
    mdx
  • package util
    Definition Classes
    core
  • package kafka
    Definition Classes
    util
  • package kml

    primarily comprise of KMLWriter classes, these utility classed are used to validate calibration, malformed trajectories etc.

    primarily comprise of KMLWriter classes, these utility classed are used to validate calibration, malformed trajectories etc.

    Definition Classes
    util
  • package osm
    Definition Classes
    util
  • package playback

    primarily comprise of playback classes, these utility classed are used to simulate perception layer, send Frames or Messages from input file.

    primarily comprise of playback classes, these utility classed are used to simulate perception layer, send Frames or Messages from input file.

    Definition Classes
    util
  • CRP
  • Config
  • DistanceUtil
  • Encryptor
  • Implicits
  • MapMatchingUtil
  • SchemaUtil
  • Util
o

com.nvidia.mdx.core.util

MapMatchingUtil

object MapMatchingUtil

Util for trajectory related computation

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MapMatchingUtil
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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. def abnormalMovement(t: jTrajectory, configbc: Map[String, String]): (Boolean, String)

    this is a rule based abnormal movement detection, the intuition is as follow, that a mapped matched trajectory is very close to the original trajectory, because a map matched sequence of points are falling on the nearest road segment.

    this is a rule based abnormal movement detection, the intuition is as follow, that a mapped matched trajectory is very close to the original trajectory, because a map matched sequence of points are falling on the nearest road segment. However this does not hold true when there is bad trajectory, back and forth movement due to bad tracking or in some cases vehicle actually moves in a abnormal way / opposite lane etc. The logic to find the abnormal movement is

    use the smoothened trajectory
    
    "deviation" = deviation of this trajectory from the mapmatched trajectory,
          distance between the two trajectory are computed using word mover distance
    "reverseDeviation" = deviation of this reverse trajectory from the mapmatched trajectory
    
    use a configurable "threshold", to check  deviation * "threshold" > reverseTrajectoryDeviation
  5. def abnormalMovement(t: Trajectory, configbc: Map[String, String]): (Boolean, String)

    this is a rule based abnormal movement detection, the intuition is as follow, that a mapped matched trajectory is very close to the original trajectory, because a map matched sequence of points are falling on the nearest road segment.

    this is a rule based abnormal movement detection, the intuition is as follow, that a mapped matched trajectory is very close to the original trajectory, because a map matched sequence of points are falling on the nearest road segment. However this does not hold true when there is bad trajectory, back and forth movement due to bad tracking or in some cases vehicle actually moves in a abnormal way / opposite lane etc. The logic to find the abnormal movement is

    use the smoothened trajectory
    
    "deviation" = deviation of this trajectory from the mapmatched trajectory,
          distance between the two trajectory are computed using word mover distance
    "reverseDeviation" = deviation of this reverse trajectory from the mapmatched trajectory
    
    use a configurable "threshold", to check  deviation * "threshold" > reverseTrajectoryDeviation
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def calculateDeviation(t: jTrajectory): (Double, Double, jTrajectory)
  8. def calculateDeviation(t: Trajectory): (Double, Double, Trajectory)
  9. def changeInDirection(t: jTrajectory, configbc: Map[String, String]): (Boolean, Double)

    checks if an object has changed direction beyond a certain threshold during the course of traversal

  10. def changeInDirection(t: Trajectory, configbc: Map[String, String]): (Boolean, Double)
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  12. var config: Map[String, String]
  13. def consecutiveBearingDiff(t: jTrajectory): (Double, List[Double])

    finds the max bearing difference between consecutive segments, during the course of traversal of an object

  14. def consecutiveBearingDiff(t: Trajectory): (Double, List[Double])

    finds the max bearing difference between consecutive segments, during the course of traversal of an object

  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  17. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. def main(args: Array[String]): Unit
  21. lazy val mapMatching: MapMatching
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. def snapToRoadWithEdges(trajectory: List[jLocation], start: Long, end: Long): (List[jLocation], List[String])

    returns snappedTrajectory and edges

    returns snappedTrajectory and edges

    trajectory is map matched with respect to open street map (OSM) , snappedTrajectory represents the new set of points on the OSM edges, the edges associated with trajectory with the trajectory after map matching are also computed for edge/link speed estimation. Link speed speed represents the average traffic speed on road link at a given point of time

  26. def snappedEdges(trajectory: List[jLocation], start: Long, end: Long): List[(String, List[jLocation])]

    map match the list of Location using openstreetmap, the map matching process returns the all possible assigned edges waypoints/locations for each edge is computed, generates unique edge id for each edge based on the head and tail of the locations unique id is based on murmur hash

  27. def snappedToRoadWithEdges(trajectory: List[Location], start: Long, end: Long): (List[Location], List[String])

    returns snappedTrajectory and edges

    returns snappedTrajectory and edges

    trajectory is map matched with respect to open street map (OSM) , snappedTrajectory represents the new set of points on the OSM edges, the edges associated with trajectory with the trajectory after map matching are also computed for edge/link speed estimation. Link speed speed represents the average traffic speed on road link at a given point of time

  28. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  29. def toJTrajectory(t: Trajectory): jTrajectory
  30. def toString(): String
    Definition Classes
    AnyRef → Any
  31. def toTrajectory(t: jTrajectory): Trajectory
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. val wayPointGeometryMode: Int

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated
  2. def snapToRoad(trajectory: List[jLocation], start: Long, end: Long): List[jLocation]
    Annotations
    @deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped