[postgis-devel] [PostGIS] #1957: ST_Distance to a one-point LineString returns NULL
PostGIS
trac at osgeo.org
Fri Aug 17 14:39:37 PDT 2012
#1957: ST_Distance to a one-point LineString returns NULL
---------------------+------------------------------------------------------
Reporter: pramsey | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 1.5.6
Component: postgis | Version: 1.5.X
Keywords: |
---------------------+------------------------------------------------------
Example
{{{
select st_distance(st_makeline(ARRAY['POINT(1 1)'::geometry]), 'POINT(0
0)'::geometry);
}}}
In the interests of tolerance and interstellar peace, it should maybe
return the distance from the one point to the other.
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1957>
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-devel
mailing list