Re: [gdal-dev] Detect if SpatiaLite is available

2012-11-07 Thread Radim Blazek
On Wed, Nov 7, 2012 at 12:00 PM, Even Rouault wrote: > Selon Radim Blazek : > >> 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

Re: [gdal-dev] Detect if SpatiaLite is available

2012-11-07 Thread Even Rouault
Selon Radim Blazek : > 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.d

[gdal-dev] Detect if SpatiaLite is available

2012-11-07 Thread Radim Blazek
Is there a way to detect in C if SQLite driver was compiled with SpatiaLite and SPATIALITE=YES option may be used? Radim ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev