[postgis-tickets] [SCM] PostGIS branch master updated. 3.4.0rc1-61-gce07fb343

git at osgeo.org git at osgeo.org
Mon Aug 28 09:03:18 PDT 2023


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "PostGIS".

The branch, master has been updated
       via  ce07fb3430cf32ef575c30d7aa55c7e2b3156de2 (commit)
      from  77b75ba04d22177edcf243ac0d1ac0801c7df79a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit ce07fb3430cf32ef575c30d7aa55c7e2b3156de2
Author: Martin Davis <mtnclimb at gmail.com>
Date:   Mon Aug 28 09:03:14 2023 -0700

    Fix doc for ST_NumGeometries

diff --git a/doc/reference_accessor.xml b/doc/reference_accessor.xml
index b9c53fd5d..d17b86f9f 100644
--- a/doc/reference_accessor.xml
+++ b/doc/reference_accessor.xml
@@ -2302,8 +2302,9 @@ SELECT ST_NPoints(ST_GeomFromEWKT('LINESTRING(77.29 29.07 1,77.42 29.26 0,77.27
 		<refsection>
 			<title>Description</title>
 
-			<para>Returns the number of Geometries. If geometry is a GEOMETRYCOLLECTION (or MULTI*) return the
-			number of geometries, for single geometries will return 1, otherwise return NULL.</para>
+			<para>Returns the number of elements in a geometry collection (GEOMETRYCOLLECTION or MULTI*).
+			For non-empty atomic geometries returns 1.  For empty geometries returns 0.
+			</para>
 
 			<para role="enhanced" conformance="2.0.0">Enhanced: 2.0.0 support for Polyhedral surfaces, Triangles and TIN was introduced.</para>
 			<para role="changed" conformance="2.0.0">Changed: 2.0.0 In prior versions this would return NULL if the geometry was not a collection/MULTI type.

-----------------------------------------------------------------------

Summary of changes:
 doc/reference_accessor.xml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list