remove_empty_features#

remove_empty_features(geojson: dict) dict[source]#

Remove Features from a FeatureCollection that lack geometry info.

Parameters:

geojson (dict) – A GeoJSON-like mapping of a FeatureCollection.

Returns:

Filtered FeatureCollection.

Return type:

dict