Opened 19 months ago
Closed 19 months ago
#5369 closed defect (fixed)
GetTopoGeomElements documentation does not mention the return is about primitives
Reported by: | strk | Owned by: | strk |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 3.0.9 |
Component: | topology | Version: | 3.0.x |
Keywords: | Cc: |
Description
For hierarchical TopoGeometry objects, GetTopoGeomElements, I believe, is always returning primitive components, rather than the actual child-layer elements.
This should be clearly documented (after proper verification).
We might at some point add a parameter to specify which elements we want (primitive or lower layer)
Change History (7)
comment:1 by , 19 months ago
comment:2 by , 19 months ago
I confirmed it returns only primitives.
There is a line if level > 0 keep on recursing.
comment:3 by , 19 months ago
I noticed it is clearly documented already. What change did you have in mind?
It says:
Returns a set of topoelemnt objects containing the topological element_id,element_type of the given TopoGeometry (primitive elements).
comment:4 by , 19 months ago
Uhm, I can see the (primitive elements)
in the table of content, but not when inside the page: http://postgis.net/docs/GetTopoGeomElements.html
See also #4882 for more documentation improvements needed in that page