Opened 22 months ago
Last modified 21 months ago
#5336 closed defect
topoelementarray_agg that takes topogeom — at Initial Version
Reported by: | robe | Owned by: | pramsey |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 3.4.0 |
Component: | topology | Version: | master |
Keywords: | Cc: |
Description
When you want to pass in a topogeom as a topoelement for building, the syntax is pretty ugly and hard to explain.
As discussed in this thread https://lists.osgeo.org/pipermail/postgis-users/2023-February/045845.html
In order to build hierarchical topoelement using topogeom, you need to do this ugly thing of
TopoElementArray_Agg( ARRAY[(topo).id,(topo).layer_id]::topology.topoelement )
It would be cleaner if we have a topoelementArray_agg that takes a topo or have topogeometry be able to autocast to a topoelement.
Then the above would reduce to
TopoElementArray_Agg( topo )
Note:
See TracTickets
for help on using tickets.