Function gaiaToGeosSelective

Source
pub unsafe extern "C" fn gaiaToGeosSelective(
    gaia: gaiaGeomCollPtr,
    mode: c_int,
) -> *mut c_void
Expand description

Converts a Geometry object into a GEOS Geometry

\param gaia pointer to Geometry object \param mode one of GAIA2GEOS_ALL, GAIA2GEOS_ONLY_POINTS, GAIA2GEOS_ONLY_LINESTRINGS or GAIA2GEOS_ONLY_POLYGONS

\return handle to GEOS Geometry

\sa gaiaToGeosSelective_r, gaiaFromGeos_XY, gaiaFromGeos_XYZ, gaiaFromGeos_XYM, gaiaFromGeos_XYZM

\note if the mode argument is not GAIA2GEOS_ALL only elementary geometries of the selected type will be passed to GEOS, ignoring any other.\n not reentrant and thread unsafe.

\remark \b GEOS support required.