Signatures
Parameters
The input geometry.
Return type
An integer value.
Example
Input:POLYGON ((1 0, 1 1, 2 1, 2 0, 1 0))
'MULTIPOLYGON (((1 0, 1 6, 6 6, 6 0, 1 0), (2 1, 2 2, 3 2, 3 1, 2 1)), ((10 0, 10 6, 16 6, 16 0, 10 0), (12 1, 12 2, 13 2, 13 1, 12 1)))'
'POLYGON EMPTY'
'LINESTRING (1 0, 1 1, 2 1)'

