Skip to content

v0.12.3

Choose a tag to compare

@cboettig cboettig released this 16 Nov 19:34
· 38 commits to main since this release
03e0643

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.