#1957 closed defect (fixed)
ST_Distance to a one-point LineString returns NULL
Reported by: | pramsey | Owned by: | pramsey |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 1.5.6 |
Component: | postgis | Version: | 1.5.X |
Keywords: | Cc: |
Description
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.
Note:
See TracTickets
for help on using tickets.
Committed to 1.5 at r10242 and 2.0 at r10243