Skip to content
On this page

geos.GEOSBuildArea ⇒ number

Creates an areal geometry formed by constituent linework of given geometry.

Returns null on exception or empty result.

Kind: Exported member
Returns: number - a pointer to a Geometry (polygon or multipolygon) representing the input's areal geometry
See: https://libgeos.org/doxygen/geos__c_8h.html#a0a8f4f9d7e3b9c1a2b6a0f1b5c4a7d0f

ParamTypeDescription
gnumbera pointer to an input Geometry (linestring or multilinestring)

geos.GEOSBuildArea_r ⇒ number

Creates an areal geometry formed by constituent linework of given geometry.

Returns null on exception or empty result.

Kind: Exported member
Returns: number - a pointer to a Geometry (polygon or multipolygon) representing the input's areal geometry
See: https://libgeos.org/doxygen/geos__c_8h.html#a3e6d7e2a4f9c5b6b2e0d1f3e8a9c1b3d

ParamTypeDescription
handlenumbera pointer to an opaque GEOS context handle object
gnumbera pointer to an input Geometry (linestring or multilinestring)