[−][src]Function spatialite_sys::dump_geojson
pub unsafe extern "C" fn dump_geojson(
sqlite: *mut sqlite3,
table: *mut c_char,
geom_col: *mut c_char,
outfile_path: *mut c_char,
precision: c_int,
option: c_int
) -> c_int
Dumps a full geometry-table into an external GeoJSON file
\param sqlite handle to current DB connection \param table the name of the table to be exported \param geom_col the name of the geometry column \param outfile_path pathname for the GeoJSON file to be written to \param precision number of decimal digits for coordinates \param option the format to use for output
\sa dump_geojson_rx
\note valid values for option are:
- 0 no option
- 1 GeoJSON MBR
- 2 GeoJSON Short CRS (e.g EPSG:4326)
- 3 MBR + Short CRS
- 4 GeoJSON Long CRS (e.g urn:ogc:def:crs:EPSG::4326)
- 5 MBR + Long CRS
\return 0 on failure, any other value on success