[postgis-devel] [PostGIS] #1383: Topology: ST_AddEdgeNewFaces() fail to add an edge
PostGIS
trac at osgeo.org
Thu Jan 12 08:10:13 PST 2012
#1383: Topology: ST_AddEdgeNewFaces() fail to add an edge
-----------------------+----------------------------------------------------
Reporter: aperi2007 | Owner: strk
Type: defect | Status: assigned
Priority: medium | Milestone: PostGIS 2.0.0
Component: topology | Version: trunk
Keywords: |
-----------------------+----------------------------------------------------
Comment(by strk):
More specifically:
{{{
strk=# select ST_DWithin('LINESTRING(-0.2 0.4,-1e-08 0.4)',
'POINT(-1e-08 0.4)',
0);
st_dwithin
------------
f
(1 row)
}}}
Or, in other words:
{{{
=> select ST_DWithin(g, st_endpoint(g), 0) from ( select 'LINESTRING(-0.2
0.4,-1e-08 0.4)'::geometry as g ) f;
st_dwithin
------------
f
(1 row)
}}}
A segment endpoint is not within 0 distance from the segment.
Note that the test returns TRUE for the firstpoint...
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1383#comment:9>
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