[postgis-commits] svn - r3129 - branches/1.3

postgis-commits at postgis.refractions.net postgis-commits at postgis.refractions.net
Thu Oct 16 11:36:00 PDT 2008


Author: robe
Date: 2008-10-16 11:36:00 -0700 (Thu, 16 Oct 2008)
New Revision: 3129

Modified:
   branches/1.3/postgis_comments.sql
Log:
ST_NumGeometries

Modified: branches/1.3/postgis_comments.sql
===================================================================
--- branches/1.3/postgis_comments.sql	2008-10-16 18:35:35 UTC (rev 3128)
+++ branches/1.3/postgis_comments.sql	2008-10-16 18:36:00 UTC (rev 3129)
@@ -103,6 +103,8 @@
 			
 COMMENT ON FUNCTION ST_NPoints(geometry ) IS 'args: g1 - Return the number of points (vertexes) in a geometry.';
 			
+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.';
+			
 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.';
 			
 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.';



More information about the postgis-commits mailing list