Opened 8 years ago

Closed 8 years ago

#3576 closed defect (fixed)

Error in Manual - ST_NumInteriorRings (8.5. Geometry Accessors)

Reported by: ruvyn Owned by: robe
Priority: medium Milestone: PostGIS 2.3.0
Component: documentation Version: master
Keywords: PostGIS 2.3.0dev Manual Cc:

Description (last modified by strk)

RE https://www.transifex.com/postgis/postgis/language/en/

String #226 and #228 in 'reference_accessor.xml.plot' are against each other:

#226 "This will work with POLYGON and return NULL for a MULTIPOLYGON type or any other type." #228 "This will work with both POLYGON and MULTIPOLYGON types but only looks at the first polygon. Return NULL if there is no polygon in the geometry."

Can you tell me which is the correct statement?

Change History (3)

comment:1 by strk, 8 years ago

Cc: https://www.transifex.com/postgis/postgis/language/en/ removed
Description: modified (diff)

comment:2 by strk, 8 years ago

"work with both POLYGON and MULTIPOLYGON" is the behavior up to version 1.5.x, while "return NULL on MULTIPOLYGON input" is from 2.0.0 and up. The description should be updated accordingly (before being translated).

comment:3 by strk, 8 years ago

Resolution: fixed
Status: newclosed

In 14945:

Fix description for ST_NumInteriorRings

Closes #3576

Note: See TracTickets for help on using tickets.