pyinterp.geodetic.LineString.from_geojson

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

Creates a line string from a GeoJSON coordinates array.

Parameters:

array – the GeoJSON coordinate array.

Returns:

The line string defined by the GeoJSON coordinate array.