This processor creates a JTS LineString geometry from JTS Points events, represent a trajectory. A trajectory is defined as the path that a moving object follows through space as a function of time. Each sub-point of this LineString represents a single event. The latest sub-point represents the latest geo-event. For each Point event it is also possible to store an additional m-value representing for example actually speed, distance, duration or direction of this event. A trajectory consists of at least two sub-point and can't be infinitive, so a threshold of maximum allowed sub-points is required. When the sub-point threshold is exceeded, the oldest point is removed from the LineString.
Creates a JTS Geometry LineString from a JTS Point Geometries events representing a trajectory.
Point WKT String
EPSG code value
M-value for each sub-point of the trajectory
String for a description text for the trajectory
Number of allowed sub-points
Adds a LineString geometry in the Well Known Text to the event, representing a trajectory. Also the description text is added to the event stream. The first existing event creates an empty LineString.
Creating a LineString with a threshold of 2 allowed sub-points:
M-value is not represented in the LineString but will be stored for internal use!