Function gaiaWriteShpEntity

Source
pub unsafe extern "C" fn gaiaWriteShpEntity(
    shp: gaiaShapefilePtr,
    entity: gaiaDbfListPtr,
) -> c_int
Expand description

Writes a feature into a Shapefile object

\param shp pointer to the Shapefile object. \param entity pointer to DBF List object containing both Geometry and Field values.

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

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

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