[postgis-tickets] [PostGIS] #4835: ST_Distance returning wrong results near the pole
PostGIS
trac at osgeo.org
Wed Feb 17 15:58:40 PST 2021
#4835: ST_Distance returning wrong results near the pole
-----------------------------+---------------------------
Reporter: matthiasheuser | Owner: pramsey
Type: defect | Status: new
Priority: high | Milestone: PostGIS 3.1.2
Component: postgis | Version: 3.1.x
Resolution: | Keywords:
-----------------------------+---------------------------
Comment (by pramsey):
I fear this is in general going to require a re-write of the core
geographic routines, as the "solution" is jimmying with the tolerances to
find particular very very very small dot-products to be zero or not.
(Changed FP_TOLERANCE to 5e-14 in lwgeodetic.c)
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4835#comment:1>
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