]> granicus.if.org Git - postgis/commitdiff
ST_NumGeometries
authorRegina Obe <lr@pcorp.us>
Thu, 16 Oct 2008 18:36:00 +0000 (18:36 +0000)
committerRegina Obe <lr@pcorp.us>
Thu, 16 Oct 2008 18:36:00 +0000 (18:36 +0000)
git-svn-id: http://svn.osgeo.org/postgis/branches/1.3@3129 b70326c6-7e19-0410-871a-916f4a2858ee

postgis_comments.sql

index 76b0f1ebfbd3b48ee97f3cdd8e082eede6068c9c..081908833285079e54ae3ae956ca6fab85bb6501 100644 (file)
@@ -103,6 +103,8 @@ COMMENT ON FUNCTION ST_NDims(geometry ) IS 'args: g1 - Returns coordinate dimens
                        \r
 COMMENT ON FUNCTION ST_NPoints(geometry ) IS 'args: g1 - Return the number of points (vertexes) in a geometry.';\r
                        \r
+COMMENT ON FUNCTION ST_NumGeometries(geometry ) IS 'args: a_multi_or_geomcollection - If geometry is a GEOMETRYCOLLECTION (or MULTI*) return the number of geometries, otherwise return NULL.';\r
+                       \r
 COMMENT ON FUNCTION ST_NumInteriorRings(geometry ) IS 'args: a_polygon - Return the number of interior rings of the first polygon in the geometry. 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.';\r
                        \r
 COMMENT ON FUNCTION ST_NumInteriorRing(geometry ) IS 'args: a_polygon - Return the number of interior rings of the first polygon in the geometry. Synonym to ST_NumInteriorRings.';\r