[postgis-tickets] [PostGIS] #5107: "flat" polygon has non-zero area according to ST_Area
PostGIS
trac at osgeo.org
Mon Feb 28 11:20:23 PST 2022
#5107: "flat" polygon has non-zero area according to ST_Area
----------------------+---------------------------
Reporter: strk | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 3.3.0
Component: postgis | Version: 3.2.x
Resolution: | Keywords:
----------------------+---------------------------
Comment (by strk):
The code is ptarray_signed_area and references
https://en.wikipedia.org/wiki/Shoelace_formula with a comment saying it
should return 0 for "flat" polygons, which is not happening.
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5107#comment:2>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list