[postgis-tickets] [PostGIS] #4694: NewEdgesSplit does not snap to edge
PostGIS
trac at osgeo.org
Sun May 24 04:58:37 PDT 2020
#4694: NewEdgesSplit does not snap to edge
----------------------+-------------------
Reporter: tomass | Owner: strk
Type: defect | Status: new
Priority: medium | Milestone:
Component: topology | Version: 3.0.x
Keywords: |
----------------------+-------------------
ST_NewEdgesSplit is unable to split an edge with an error "SQL/MM Spatial
exception - point not on edge".
Script to reproduce an error is attached. It drops and then creates a new
topology to make sure we have a clean environment. Inserts new edge. Then
a call to ST_Distance shows that a distance to the node which will be used
as a split point for an edge is "9.946529457016767e-10" away. Then a call
to ST_NewEdgesSplit fails with an error:
{{{
ERROR: SQL/MM Spatial exception - point not on edge
}}}
**NOTE:** If I do a workaround and modify an edge adding a new point to
the edges geometry - then call to ST_NewEdgesSplit is successful.
Tested on Centos8.1, PostgreSQL 12.1, Postgis3.0.1 (topology 3.0.1),
GEOS3.7.2.
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4694>
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