You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fixed
Convert keeps a polygon that contains a pole (#322). Out of a polar CRS such as EPSG:3413 or EPSG:3031, ST_Transform writes a pole-containing polygon as a ring with a vertex at every longitude. The antimeridian split left it unchanged, because it is genuinely wider than 180°, and ST_MakeValid then reduced it to lines: a cap at 80° N came out with zero area, and an Antarctica-sized ring at 70° S as 24 km². A ring that winds all the way round in longitude is now closed along its pole and cut into -180..180, so the polygon keeps its area and still contains the pole, and its hexes fill over the pole. Polygons that cross 180° without containing a pole convert as before.