pyinterp.core.geodetic.Polygon.__getstate__