ST_NumGeometries — Returns the number of geometries in a GeometryCollection.
integer ST_NumGeometries(bytea
Geometry);
Returns the number of geometries in a GeometryCollection.
![]() | |
If the input Geometry is not a GeometryCollection, Jaspa also counts them, instead of returning Null as specified in SQL-MM. |
| 2D | 3D | M |
|---|---|---|
![]() | ![]() | ![]() |
| OGC SFS for SQL. 1.1 (1999) | OGC SFS for SQL. 1.1.0 (2005) | OGC SFS for SQL. 1.2.0 (2006)) | SQL-MM Part 3 |
|---|---|---|---|
| 2.1.2.1 | 7.2.16.1 | 7.2.15 | 9.1.4 |