From a list of dictionnariesΒΆ
Create a dataframe from a list of dictionnaries
GeoDataFrame.fromRecords
Named parameters:
- geometryCol
required String: the geometry column name
- speedCol
String: the speed column name
- timestampCol
String: the timestamp column name
- timestampFormat
TimestampType: the type of timestamp default
TimestampType.milliseconds
- verbose
bool: verbosity default
false
final data = <Map<String, dynamic>>[];
final df = GeoDataFrame.fromRecords(data,
geometryCol: "geometry",
speedCol: "speed",
timestampCol: "timestamp",
verbose: true);