package trajectory
transform for Trajectory schema
Type Members
-
case class
GeoLocation(type: String = "linestring", coordinates: Array[Array[Double]]) extends Product with Serializable
represents locations array, for geo coodinates Array[Array[lon, lat]], for cartesian coordinates Array[Array[x,y]]
-
case class
Trajectory(id: String, start: Timestamp, end: Timestamp, points: List[Location]) extends Product with Serializable
stores geo points i.e latitude and longitude, timestamp, provide functions related to object movement
stores geo points i.e latitude and longitude, timestamp, provide functions related to object movement
*
val t = Trajectory(id, start, end, locations) // compute behavior or attributes t.bearing t.direction t.distance t.timeInterval t.speed t.speedOverTime t.smoothTrajectory //
- id
unique id of the trajectory, default implementation use sensor-id + object-id
- start
start timestamp of the trajectory
- end
end timestamp of the trajectory
- points
List of geo points or Locations
-
case class
TrajectoryE(id: String, start: Timestamp, end: Timestamp, points: List[Coordinate]) extends TrajectoryEBase with Product with Serializable
stores cartesian points i.e [x,y], timestamp, provide functions related to object movement
stores cartesian points i.e [x,y], timestamp, provide functions related to object movement
val t = TrajectoryE(id, start, end, coordinates) // compute behavior or attributes t.bearing t.direction t.distance t.timeInterval t.speed t.speedOverTime t.smoothTrajectory //
- id
unique id of the trajectory, default implementation use sensor-id + object-id
- start
start timestamp of the trajectory
- end
end timestamp of the trajectory
- points
List of geo points or Locations
- abstract class TrajectoryEBase extends AnyRef
-
case class
TrajectoryI(id: String, start: Timestamp, end: Timestamp, points: List[Coordinate]) extends TrajectoryEBase with Product with Serializable
stores image points i.e [x,y], timestamp, provide functions related to object movement
stores image points i.e [x,y], timestamp, provide functions related to object movement
val t = TrajectoryE(id, start, end, coordinates) // compute behavior or attributes t.bearing t.direction t.distance t.timeInterval t.speed t.speedOverTime t.smoothTrajectory //
- id
unique id of the trajectory, default implementation use sensor-id + object-id
- start
start timestamp of the trajectory
- end
end timestamp of the trajectory
- points
List of geo points or Locations
-
case class
jTrajectory(id: String, start: Timestamp, end: Timestamp, points: List[jLocation]) extends Product with Serializable
stores geo points i.e latitude and longitude, timestamp, provide functions related to object movement
stores geo points i.e latitude and longitude, timestamp, provide functions related to object movement
*
val t = Trajectory(id, start, end, locations) // compute behavior or attributes t.bearing t.direction t.distance t.timeInterval t.speed t.speedOverTime t.smoothTrajectory //
- id
unique id of the trajectory, default implementation use sensor-id + object-id
- start
start timestamp of the trajectory
- end
end timestamp of the trajectory
- points
List of geo points or Locations
-
case class
jTrajectoryE(id: String, start: Timestamp, end: Timestamp, points: List[jCoordinate]) extends jTrajectoryEBase with Product with Serializable
stores cartesian points i.e [x,y], timestamp, provide functions related to object movement
stores cartesian points i.e [x,y], timestamp, provide functions related to object movement
val t = TrajectoryE(id, start, end, coordinates) // compute behavior or attributes t.bearing t.direction t.distance t.timeInterval t.speed t.speedOverTime t.smoothTrajectory //
- id
unique id of the trajectory, default implementation use sensor-id + object-id
- start
start timestamp of the trajectory
- end
end timestamp of the trajectory
- points
List of geo points or Locations
- abstract class jTrajectoryEBase extends AnyRef
-
case class
jTrajectoryI(id: String, start: Timestamp, end: Timestamp, points: List[jCoordinate]) extends jTrajectoryEBase with Product with Serializable
stores image points i.e [x,y], timestamp, provide functions related to object movement
stores image points i.e [x,y], timestamp, provide functions related to object movement
val t = TrajectoryE(id, start, end, coordinates) // compute behavior or attributes t.bearing t.direction t.distance t.timeInterval t.speed t.speedOverTime t.smoothTrajectory //
- id
unique id of the trajectory, default implementation use sensor-id + object-id
- start
start timestamp of the trajectory
- end
end timestamp of the trajectory
- points
List of geo points or Locations