pyinterp.core.geodetic.Polygon.to_geojson#

Polygon.to_geojson(self: pyinterp.core.geodetic.Polygon) dict#

Return the polygon as a GeoJSON type.

Returns

The polygon as a GeoJSON type.