pyinterp.core.geodetic.Box.from_geojson

static Box.from_geojson(array: list) pyinterp.core.geodetic.Box

Creates a box from a GeoJSON coordinates array.

Parameters:

array – the GeoJSON coordinate array.

Returns:

The box defined by the GeoJSON coordinate array.