From geojson

From a geojson file

Create a dataframe from a geojson file

GeoDataFrame.fromGeoJsonFile

Parameters

path

required String: the path to the geojson file

Named parameters

timestampProperty

String: the geojson property with a timestamp default: “timestamp”

speedProperty

String: the geojson property for speed default: “speed”

timestampFormat

TimestampType: the type of the timestamp default: “TimestampType.milliseconds”

verbose

bool: verbosity default false

final df = await GeoDataFrame.fromGeoJsonFile("data/positions.geojson");

From parsed geojson