Skip to content

geos.GEOSCoveredBy ⇒ number

Tests if geometry g1 is covered by g2, which is the case if every point of g1 lies in g2.

Kind: global property of geos
Returns: number - 1 on true, 0 on false, 2 on exception

ParamTypeDescription
g1GEOSGeometryInput geometry
g2GEOSGeometryInput geometry

geos.GEOSCoveredBy_r ⇒ number

Tests if geometry g1 is covered by g2, which is the case if every point of g1 lies in g2.

Kind: global property of geos
Returns: number - 1 on true, 0 on false, 2 on exception

ParamTypeDescription
handleGEOSContextHandle_t-
g1GEOSGeometryInput geometry
g2GEOSGeometryInput geometry