toGeoDataFrame

fun SimpleFeatureCollection.toGeoDataFrame(): GeoDataFrame<*>

Converts this SimpleFeatureCollection to a GeoDataFrame.

This method transforms the SimpleFeatureCollection into a GeoDataFrame, extracting both spatial (geometry) and non-spatial attributes, and associates them with an optional Coordinate Reference System (CRS) if available.

Return

a GeoDataFrame containing the data from this SimpleFeatureCollection, including geometries and other attributes, and an associated CRS if present.