geom_to_feature#

geom_to_feature(geom: BaseGeometry, properties: Optional[dict] = None) dict[source]#

Serialize a single shapely geometry to a GeoJSON Feature.

Parameters
Return type

dict