movingpandas.Trajectory.to_mf_json#

Trajectory.to_mf_json(datetime_to_str=True, temporal_columns=None)#

Converts a Trajectory to a dictionary compatible with the Moving Features JSON (MF-JSON) specification.

Examples

>>> traj.to_mf_json()
Returns:

The MF-JSON representation of the GeoDataFrame as a dictionary.

Return type:

dict