Skip to content
On this page

geos.GEOSHasZ ⇒ number

Check if a geometry has a Z coordinate dimension.

Kind: Exported member
Returns: number - 1 if the geometry has Z dimension, 0 otherwise, or -1 on error.

ParamTypeDescription
handlenumberA pointer to the GEOS context handle.
gnumberThe GEOS geometry object.

geos.GEOSHasZ_r ⇒ number

Check if a geometry has a Z coordinate dimension.

Kind: Exported member
Returns: number - 1 if the geometry has Z dimension, 0 otherwise, or -1 on error.

ParamTypeDescription
handlenumberA pointer to the GEOS context handle.
gnumberThe GEOS geometry object.