#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 strk, 19 months ago

See also #4882 for more documentation improvements needed in that page

comment:2 by robe, 19 months ago

I confirmed it returns only primitives.

There is a line if level > 0 keep on recursing.

comment:3 by robe, 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 strk, 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

comment:5 by robe, 19 months ago

ah indeed how did that happen. Okay will update.

comment:6 by robe, 19 months ago

Updated at [255aa0ffdb/git] for PostGIS 3.4

comment:7 by Regina Obe <lr@…>, 19 months ago

Resolution: fixed
Status: newclosed

In fa38934d/git:

Clarify GetTopoElements returns primitives. Closes #5369 for PostGIS 3.3.3. [skip ci]

Note: See TracTickets for help on using tickets.