Columns¶
A dataframe has columns. At minimum a geometry column.
The column object¶
Constructors¶
GeoDataFrameColumn.fromGeoJsonGeometry¶
Build a column from parsed geojson objects
Positional parameters:
| geometry: | dynamic: a geojson geometry: either a GeoJsonPoint
, a GeoJsonMultiPoint
or a GeoJsonLine |
|---|---|
| columnName: | String: the name of the column |
final col = GeoDataFrameColumn.fromGeoJsonGeometry(someGeoJsonObject, "myline");
print(col.dtype);
print(col.type);
GeoDataFrameColumn.inferFromDataPoint¶
Build a column with types infered from a datapoint
Positional parameters:
| dataPoint: | dynamic: a sample of the data to check to infer types |
|---|---|
| columnName: | String: the name of the column |