geom_to_feature# geom_to_feature(geom: BaseGeometry, properties: dict | None = None) → dict[source]# Serialize a single shapely geometry to a GeoJSON Feature. Parameters: geom (BaseGeometry) – properties (dict | None) – Return type: dict