geometry_to_feature#

geometry_to_feature(mapping: dict, properties: dict | None = None) dict[source]#

Convert a serialized geometry to a serialized GeoJSON feature.

Parameters:
  • mapping (dict) –

  • properties (dict | None) –

Return type:

dict