GeoTrajectoryPublic#

digraph inheritance3eab0974f9 { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "ABC" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",tooltip="Helper class that provides a standard way to create an ABC using"]; "AsORMMixin" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled"]; "ABC" -> "AsORMMixin" [arrowsize=0.5,style="setlinewidth(0.5)"]; "AsTASIMixin" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled"]; "ABC" -> "AsTASIMixin" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Base" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled"]; "DataFrameConversionMixin" -> "Base" [arrowsize=0.5,style="setlinewidth(0.5)"]; "SQLModel" -> "Base" [arrowsize=0.5,style="setlinewidth(0.5)"]; "SchemaByEnvironmentVariableMixin" -> "Base" [arrowsize=0.5,style="setlinewidth(0.5)"]; "BaseModel" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",tooltip="!!! abstract \"Usage Documentation\""]; "DataFrameConversionMixin" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled"]; "FromTASIMixin" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled"]; "GeoTrajectoryPublic" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled"]; "Base" -> "GeoTrajectoryPublic" [arrowsize=0.5,style="setlinewidth(0.5)"]; "PublicEntityMixin" -> "GeoTrajectoryPublic" [arrowsize=0.5,style="setlinewidth(0.5)"]; "PublicEntityMixin" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled"]; "AsORMMixin" -> "PublicEntityMixin" [arrowsize=0.5,style="setlinewidth(0.5)"]; "AsTASIMixin" -> "PublicEntityMixin" [arrowsize=0.5,style="setlinewidth(0.5)"]; "FromTASIMixin" -> "PublicEntityMixin" [arrowsize=0.5,style="setlinewidth(0.5)"]; "SQLModel" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled"]; "BaseModel" -> "SQLModel" [arrowsize=0.5,style="setlinewidth(0.5)"]; "SchemaByEnvironmentVariableMixin" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled"]; }

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