Trajectory

class wlts.trajectory.Trajectory(data: Dict[str, Any])

A class that represents a trajectory in WLTS.

Note

For more information about trajectory definition, please, refer to WLTS specification.

__init__(data: Dict[str, Any]) None

Create a Trajectory object.

Parameters:

data – The result of trajectory.

property trajectory: List[Dict[str, Any]]

Return the trajectory associated with a location in space.

property query: Dict[str, Any]

Return the query.

df(**options) DataFrame

Return the dataframe representation of the Trajectory object.

geodf(**options) GeoDataFrame

Return the geodataframe representation of the Trajectory object.