tasi.Trajectory.as_geopandas#

Trajectory.as_geopandas(position='position', aggregate=True)[source]#

Convert the trajectory to a geometric representation

Parameters:
  • position (Union[str, List[str], Tuple[str]], optional) – Objects’ reference(s) to be converted into a

  • geoDataFrame

  • aggregate – (bool): If the positions should be aggregated to LineString objects

Returns:

The positions as GeoDataFrame

Return type:

tasi.trajectory.GeoTrajectory