fix(Polygon_repair): Ensure WKT POLYGON are closed

This commit is contained in:
Loïc Bartoletti 2025-11-21 11:50:12 +01:00
parent 1069678f36
commit c8099415d4
3 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
POLYGON((0 0, 40 0, 40 40, 0 40))
POLYGON((10 10 , 30 10, 30 30, 0 30))
POLYGON((1 1, 2 1, 2 2, 1 2))
POLYGON((11 11, 12 11, 12 12, 11 12))
POLYGON((0 0, 40 0, 40 40, 0 40, 0 0))
POLYGON((10 10 , 30 10, 30 30, 0 30, 10 10))
POLYGON((1 1, 2 1, 2 2, 1 2, 1 1))
POLYGON((11 11, 12 11, 12 12, 11 12, 11 11))

View File

@ -1 +1 @@
POLYGON((0 0, 10 0, 10 6, 6 6, 6 4 , 10 4, 10 10, 0 10))
POLYGON((0 0, 10 0, 10 6, 6 6, 6 4 , 10 4, 10 10, 0 10, 0 0))

View File

@ -1 +1 @@
MULTIPOLYGON(((0 0,1 0,1 1,0 1,0 0)),((1 0.25,2 0.25,2 0.75,1 0.75,1 0)))
MULTIPOLYGON(((0 0,1 0,1 1,0 1,0 0)),((1 0.25,2 0.25,2 0.75,1 0.75,1 0.25)))