[gdal-dev] Detect if SpatiaLite is available
Even Rouault
even.rouault at mines-paris.org
Wed Nov 7 03:00:24 PST 2012
Selon Radim Blazek <radim.blazek at gmail.com>:
> Is there a way to detect in C if SQLite driver was compiled with
> SpatiaLite and SPATIALITE=YES option may be used?
OGR drivers currently lack a mechanism to expose metadata, so apart from trying
to create a spatialite DB (you can create a in memory one, like /vsimem/foo.db,
if you don't want to spoil the disk), I can't think of a better way to detect
spatialite creation capabilities.
>
> Radim
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
More information about the gdal-dev
mailing list