[gdal-dev] SQLite driver?
Joaquim Luis
jluis at ualg.pt
Wed Sep 14 10:43:22 PDT 2016
Sorry, my bad. When I thought I was using gisinternals I was actually
using my build. Gisinternals does show the SQLite driver.
But one of my points still holds. If the Walker shows me that sqlite3.dll
is a dependency than why the SQLite driver is not available?
> Hmm, several (weird) things.
>
> 1. I'm using GnuWin ports for unix commands. And:
> - this works
> gdalinfo --formats | sort
> - this not (output is empty)
> ogfinfo --formats | sort
> Same thing for 'grep'
>
> 2. To check I'm using gisinternals and same thing as my build.
> ogrinfo --formats shows no SQLite driver
>
> 3. The program I'm trying to build/run crashes at this line
> https://github.com/osmcode/osmcoastline/blob/master/include/gdalcpp.hpp#L132
> (no idea why it crashes) apparently because it doesn't find the
> SQLite driver (driver_name == 'SQLite')
>
>
>> ogrinfo --formats | grep -i lite
>> SQLite -vector- (rw+v): SQLite / Spatialite
>>
>> On Wed, Sep 14, 2016 at 9:32 AM, Joaquim Luis <jluis at ualg.pt> wrote:
>>>
>>> Sorry Even that you are bombed with so many questions.
>>>
>>> I have (re)build GDAL with sqlite and can confirm with The
>>> (Dependency) Walker that the sqlite3.dll is a gdal.dll dependency.
>>> However,
>>>
>>> gdalinfo --formats
>>>
>>> ...
>>> Rasterlite -raster- (rws): Rasterlite
>>> SAFE -raster- (rov): Sentinel-1 SAR SAFE Product
>>> SAR_CEOS -raster- (rov): CEOS SAR Image
>>> SDTS -raster- (rov): SDTS Raster
>>> SENTINEL2 -raster- (rovs): Sentinel 2
>>> SGI -raster- (rw+): SGI Image File Format 1.0
>>> SRTMHGT -raster- (rwv): SRTMHGT File Format
>>> TIL -raster- (rov): EarthWatch .TIL
>>> ...
>>>
>>> does not show the SQLite driver and indeed a program that I'm building
>>> that needs to link with GDAL (osmcoastline) crashes when it doesn't
>>> find >>>that driver.
>>>
>>> ?
>>>
>>> Joaquim
>>> _______________________________________________
>>> gdal-dev mailing list
>>> gdal-dev at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>>
>>
>>
>> ----
>> http://schwehr.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20160914/e46fb23b/attachment.html>
More information about the gdal-dev
mailing list