[postgis-tickets] [PostGIS] #4758: ERROR: XX000: SQL/MM Spatial exception - geometry crosses edge 2, LOCATION: pg_error, lwgeom_pg.c:250
PostGIS
trac at osgeo.org
Fri Oct 9 03:44:31 PDT 2020
#4758: ERROR: XX000: SQL/MM Spatial exception - geometry crosses edge 2,
LOCATION: pg_error, lwgeom_pg.c:250
-----------------------+---------------------------
Reporter: laopsahl | Owner: strk
Type: defect | Status: assigned
Priority: blocker | Milestone: PostGIS 3.1.0
Component: topology | Version: 3.0.x
Resolution: | Keywords:
-----------------------+---------------------------
Comment (by strk):
Upon trying to make the patch official I'm even less convinced about the
patch.
The thing is that at that point in code we're expecting the input line to
have been fully noded, but this is NOT the case. This is the problem. I'm
not even sure the edge should not be touched, in that vertices have more
importance over lines, because vertices are what you survey, not lines, so
if a measurement finds a points in a place, that's more likely to exist
there.
In the case above, attracting the line to the vertex would make the more
sense to me. Not an easy task to deal with, as it requires implementing
merge of edges...
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4758#comment:11>
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