Opened 3 years ago

Closed 19 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:
Cc:

Description

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, 19 months ago

Version 0, edited 19 months ago by dbaston (next)

comment:3 by dbaston, 19 months ago

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