tasi.Trajectory.as_geo#

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

Convert the trajectory to a geometric representation

Parameters:
  • position (Union[str, List[str | Tuple[str, ...]], Tuple[str,...]]) – Objects’ reference(s)

  • "position". (to be converted into geo object. Defaults to)

  • aggregate (bool, optional) – If the positions should be aggregated to LineString objects. Defaults to True.

Returns:

The positions as GeoDataFrame

Return type:

tasi.GeoTrajectory