[PostGIS] #5848: expose a lower level function of TopoGeo_AddLineString that returns more info
PostGIS
trac at osgeo.org
Mon Feb 3 23:58:15 PST 2025
#5848: expose a lower level function of TopoGeo_AddLineString that returns more
info
-------------------------------+---------------------------
Reporter: Lars Aksel Opsahl | Owner: strk
Type: enhancement | Status: new
Priority: medium | Milestone: PostGIS 3.5.3
Component: topology | Version: 3.4.x
Keywords: |
-------------------------------+---------------------------
We need to keep track of each edges source when we merge multiple table
into a common topology.
The problem with TopoGeo_AddLineString is that it only return edge id's
representing the line added.
Lets say we have a empty topology and add a line from table "one", we then
return edge id 1 so we know that edge 1 is from table "one".
Then we add a line from table "two" crossing edge 1, we then return 2 new
edge id's so we have control of the edges representing line from table
"two".
The problem is that we now have lost control of what edges representing
line from table "one", because edge 1 has been split into two new edges as
side effect.
In the low level code of TopoGeo_AddLineString you have control of all
this side effects.
Is it it Ok to expose a new method that returns side effects like edges
that has be splited and so on and not only the edges representing the line
added ?
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5848>
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