[][src]Function spatialite_sys::gaiaReadShpEntity_ex

pub unsafe extern "C" fn gaiaReadShpEntity_ex(
    shp: gaiaShapefilePtr,
    current_row: c_int,
    srid: c_int,
    text_dates: c_int
) -> c_int

Reads a feature from a Shapefile object

\param shp pointer to the Shapefile object. \param current_row the row number identifying the feature to be read. \param srid feature's SRID \param text_dates is TRUE all DBF dates will be considered as TEXT

\return 0 on failure: any other value on success.

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

\note on completion the Shapefile's \e Dbf member will contain the feature read: \li the \e Dbf->Geometry member will contain the corresponding Geometry \li and the \e Dbf->First member will point to the linked list containing the corresponding data attributes [both data formats and values].

\remark the Shapefile object should be opened in \e read mode.