[][src]Function spatialite_sys::elementary_geometries_ex2

pub unsafe extern "C" fn elementary_geometries_ex2(
    sqlite: *mut sqlite3,
    inTable: *mut c_char,
    geometry: *mut c_char,
    outTable: *mut c_char,
    pKey: *mut c_char,
    multiId: *mut c_char,
    rows: *mut c_int,
    transaction: c_int
)

Creates a derived table surely containing elementary Geometries

\param sqlite handle to current DB connection \param inTable name of the input table \param geometry name of the Geometry column \param outTable name of the output table to be created \param pKey name of the Primary Key column in the output table \param multiId name of the column identifying origins in the output table \param rows on completion will contain the total number of inserted rows \param transaction boolena; if set to TRUE will internally handle a SQL Transaction

\sa elementary_geometries

\note if the input table contains some kind of complex Geometry (MULTIPOINT, MULTILINESTRING, MULTIPOLYGON or GEOMETRYCOLLECTION), then many rows are inserted into the output table: each single row will contain the same attributes and an elementaty Geometry. All the rows created by expanding the same input row will expose the same value in the "multiId" column.