[PostGIS] #5933: Support TopoGeometry creation from TopoElement for CreateTopoGeom
PostGIS
trac at osgeo.org
Fri Jun 27 12:20:04 PDT 2025
#5933: Support TopoGeometry creation from TopoElement for CreateTopoGeom
---------------------+---------------------------
Reporter: latot | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 3.5.4
Component: postgis | Version: 3.5.x
Keywords: |
---------------------+---------------------------
Hi! I think would be useful to allow the function CreateTopoGeom works
also for a TopoElement, we do not always need build one from a set of
geometries/topoelements, so would simplify a lot the direct creation of a
TopoGeometries.
A signature like:
{{{
topogeometry CreateTopoGeom(varchar toponame, integer tg_type, integer
layer_id, topoelement tg_objs);
}}}
We can also cast a topoelement to topoelementarray, aside of the actual
casting is not working, I think is good have both, is not common sense
know which casts are allowed and which not, so keep both could do this a
lot simpler.
Thx!
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5933>
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