Opened 2 years ago

Closed 17 months ago

#1137 closed defect (fixed)

SetPrecision returns 3D empty geometries after collapsing

Reported by: caspervdw Owned by: strk
Priority: minor Milestone: 3.10.1
Component: Core Version: main
Severity: Unassigned Keywords:


This detail popped up after implementing a workaround for #1136 in pygeos. It is also obfuscated by the issue that the WKT writer does not serialialize 3D empty geometries as 3D.

SetPrecision on for instance POLYGON ((0 0, 0.1 0, 0.1 0.1, 0 0.1, 0 0)) with grid size of 1 and the default make_valid behaviour gives a 3D empty polygon as result.

Change History (3)

comment:2 by dbaston, 17 months ago

Fixed in

Last edited 17 months ago by dbaston (previous) (diff)

comment:3 by dbaston, 17 months ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.