[postgis-tickets] [PostGIS] #2144: totopoGeom have an extra arg to prevent addition of primitives to topology

PostGIS trac at osgeo.org
Thu Nov 3 09:27:18 PDT 2022


#2144: totopoGeom have an extra arg to prevent addition of primitives to topology
--------------------------+-----------------------------
  Reporter:  robe         |      Owner:  strk
      Type:  enhancement  |     Status:  new
  Priority:  medium       |  Milestone:  PostGIS Fund Me
 Component:  topology     |    Version:  master
Resolution:               |   Keywords:  gsoc, usability
--------------------------+-----------------------------
Comment (by strk):

 Another idea I'm having is to have a different signature all together. The
 thing is toTopoGeom currently does BOTH the work of TopoGeo_addWhatever
 AND something else, we could encode that "something else" into its own
 function such function could be used in by users who have trouble building
 up their own TopoElementArrays, it could return a TopoElementArray so that
 its return value can be fed to CreateTopoGeom directly.

 Evil as usual is in the details: how do you decide whether or not you
 accept the components ? Should we compute hausdorffdistance of the
 topogeometry::geometry and the input geometry to tell if the result is
 acceptable ? Possible outcomes: we pick elements which also covers space
 OUTSIDE of the input geometry; the sum of all returned elements is not
 enough to cover all the space of the input geometry.
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/2144#comment:10>
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