[][src]Function spatialite_sys::gaiaOpenShpRead

pub unsafe extern "C" fn gaiaOpenShpRead(
    shp: gaiaShapefilePtr,
    path: *const c_char,
    charFrom: *const c_char,
    charTo: *const c_char
)

Open a Shapefile in read mode

\param shp pointer to the Shapefile object. \param path \e abstract pathname to the corresponding file-system files. \param charFrom GNU ICONV name identifying the input charset encoding. \param charTo GNU ICONV name identifying the output charset encoding.

\sa gaiaAllocShapefile, gaiaFreeShapefile, gaiaOpenShpWrite, gaiaReadShpEntity, gaiaShpAnalyze, gaiaWriteShpEntity, gaiaFlushShpHeaders

\note on failure the object member \e Valid will be set to 0; and the object member \e LastError will contain the appropriate error message. \n the \e abstract pathname should not contain any suffix at all.