[postgis-tickets] [PostGIS] #4223: ST_Distance returns 0 instead of 5
PostGIS
trac at osgeo.org
Mon Nov 5 11:06:55 PST 2018
#4223: ST_Distance returns 0 instead of 5
----------------------+---------------------------
Reporter: br0ke | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 2.5.1
Component: postgis | Version: 2.5.x
Resolution: | Keywords:
----------------------+---------------------------
Comment (by pramsey):
Just stripping the example down to a smaller one for the debugger
{{{
SELECT
_ST_DistanceTree(g1, g2),
_ST_DistanceUncached(g1, g2)
FROM
(SELECT
ST_Transform(ST_GeomFromText('POLYGON((-5 0, -5 100, 5
100, 5 0, -5 0))',32641),4326)::geography AS g1,
ST_Transform(ST_GeomFromText('POLYGON((-10 30, -10 40,
-20 40, -20 30, -10 30))',32641),4326)::geography AS g2
) AS f1
}}}
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4223#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