pyinterp.core.geodetic.LineString.__getstate__