Ticket #1459 (closed defect: fixed)
A segment endpoint is not ST_DWithin the segment (0 tolerance)
| Reported by: | strk | Owned by: | pramsey |
|---|---|---|---|
| Priority: | high | Milestone: | PostGIS 2.0.0 |
| Component: | postgis | Version: | trunk |
| Keywords: | Cc: |
Description
See this crazyness here:
strk=# select ST_DWithin(g, st_endpoint(g), 0),
ST_DWithin(g, st_startpoint(g), 0)
from ( select
'LINESTRING(-0.2 0.4,-1e-08 0.4)'::geometry as g
) f;
st_dwithin | st_dwithin
------------+------------
f | t
(1 row)
Change History
Note: See
TracTickets for help on using
tickets.
