Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

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

ArgumentTypeDescription
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
  • No labels