[postgis-tickets] [PostGIS] #5107: "flat" polygon has non-zero area according to ST_Area

PostGIS trac at osgeo.org
Mon Feb 28 07:13:22 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
 Keywords:           |
---------------------+---------------------------
 Spin-off of #5105, ST_Area can report non-zero area for completely flat
 polygons. Example:
 {{{
 POLYGON((
   29.262792863298348 71.22115103790775,
   29.26598031986849  71.22202978558047,
   29.275379947735576 71.22044935739267,

   29.29461024331857  71.22741507590429,

   29.275379947735576 71.22044935739267,
   29.26598031986849  71.22202978558047,
   29.262792863298348 71.22115103790775
 ))
 }}}

 Note how the polygon ring is going forward and backward onto the exact
 same vertices.

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5107>
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