[gdal-dev] rasterlite creation error

Chaitanya kumar CH chaitanya.ch at gmail.com
Wed Nov 17 00:06:51 EST 2010


Neil,

OGR's SQLite driver can read a SpatiaLite database without the SpatiaLite
library. The library is needed only for the extra features like indexes,
functions, etc. So, you probably don't have SpatiaLite configured right.


On Wed, Nov 17, 2010 at 10:11 AM, Neil Best <nbest at ci.uchicago.edu> wrote:

>
> What does this mean?
>
>
> $ gdal_translate -of Rasterlite /data/grass/global/cusa/cellhd/agc_crop
> cusa.db -co DRIVER=PNG
> Input file size is 695, 298
> ERROR 1: In ExecuteSQL(): sqlite3_prepare(SELECT
> AddGeometryColumn('cusa_metadata', 'geometry', -1, 'POLYGON', \
> 2)):
>  no such function: AddGeometryColumn
> ERROR 1: Check that the OGR SQLite driver has Spatialite support
>
>
> Both GDAL and OGR report that SQLite is a supported format.  I am able to
> ogrinfo world.sqlite from the SpatiaLite site, but not SRTM.sqlite.  Any
> ideas?  Something wrong with my SQLite libraries or my paths?
> --
> View this message in context:
> http://osgeo-org.1803224.n2.nabble.com/rasterlite-creation-error-tp5746493p5746493.html
> Sent from the GDAL - Dev mailing list archive at Nabble.com.
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>



-- 
Best regards,
Chaitanya kumar CH.
/tʃaɪθənjə/ /kʊmɑr/
+91-9494447584
17.2416N 80.1426E
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20101117/9e91cc52/attachment.html


More information about the gdal-dev mailing list