GeoTrajectoryPublic#

Inheritance diagram of tasi.io.geo.GeoTrajectoryPublic

A GeoTrajectory specialized for trajectory data representing the state of a traffic participant over a period of time but with position information encoded as GeoObject using the GeoJSON format.

Factory methods#

GeoTrajectoryPublic.from_orm(obj[, update])

GeoTrajectoryPublic.from_tasi(obj, **kwargs)

GeoTrajectoryPublic.from_trajectory(trajectory)

GeoTrajectoryPublic.model_validate(obj, *[, ...])

Validate a pydantic model instance.

Conversion#

GeoTrajectoryPublic.as_orm(**kwargs)

Convert to its ORM representation

GeoTrajectoryPublic.as_tasi(**kwargs)

Convert to a GeoPandas based representation

GeoTrajectoryPublic.as_trajectory()

Attributes#

GeoTrajectoryPublic.poses

The poses of the trajectory

GeoTrajectoryPublic.traffic_participant

A reference to the traffic participant

GeoTrajectoryPublic.geometry

Representation of the trajectory using a GeoObject