movingpandas.TrajectoryCollection.to_mf_json#

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

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

Examples

>>> tc.to_mf_json()
Returns:

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

Return type:

dict