movingpandas.Trajectory.to_crs#

Trajectory.to_crs(crs)#

Return the trajectory reprojected to the target CRS

Parameters:

crs (pyproj.CRS) – Target coordinate reference system

Return type:

Trajectory

Examples

Reproject a trajectory to EPSG:4088

>>> from pyproj import CRS
>>> reprojected = trajectory.to_crs(CRS(4088))