[PostGIS] #5671: Bug in ST_Area function with use_spheroid=false

PostGIS trac at osgeo.org
Fri Mar 8 10:53:19 PST 2024


#5671: Bug in ST_Area function with use_spheroid=false
----------------------+-----------------------------------
  Reporter:  azakh    |      Owner:  pramsey
      Type:  defect   |     Status:  new
  Priority:  medium   |  Milestone:  PostGIS 3.3.6
 Component:  postgis  |    Version:  3.3.x
Resolution:           |   Keywords:  ST_Area, use_spheroid
----------------------+-----------------------------------
Comment (by pramsey):

 Confirmed, the implementation of ptarray_area_sphere is native and
 ptarray_area_spheroid is delegating to GeographicLib (in proj). I think
 the easiest fix is to throw away the native implementation and just use
 GeographicLib with a spherical major/semimajor parameterization, which
 should be more robust.
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5671#comment:5>
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