Function: geoGetNum(Geometry value)
Returns the number of Geometries in a GeometryCollection or Multipolygon.
If passed a string the geometry functions will automatically convert it into a geometry object.
Syntax
geoGetNum( geometryValue)
Argument | Type | Description |
---|---|---|
geometryValue | WTK String or Geometry Object | The geometry to test for number of geometries. |
Examples
geoGetNum("MULTIPOLYGON (((0 0, 0 2, 2 2, 2 0, 0 0)), ((0 0, 0 -2, -2 -2, -2 0, 0 0)))")
Returns the number of geometries as an Integer
See Also