pyinterp.core.geodetic.LineString.to_geojson

LineString.to_geojson(self: pyinterp.core.geodetic.LineString) dict

Return the line string as a GeoJSON type.

Returns:

The line string as a GeoJSON type.