Neil,<br><br>OGR&#39;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&#39;t have SpatiaLite configured right.<br>
<br><br><div class="gmail_quote">On Wed, Nov 17, 2010 at 10:11 AM, Neil Best <span dir="ltr">&lt;<a href="mailto:nbest@ci.uchicago.edu">nbest@ci.uchicago.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
What does this mean?<br>
<br>
<br>
$ gdal_translate -of Rasterlite /data/grass/global/cusa/cellhd/agc_crop<br>
cusa.db -co DRIVER=PNG<br>
Input file size is 695, 298<br>
ERROR 1: In ExecuteSQL(): sqlite3_prepare(SELECT<br>
AddGeometryColumn(&#39;cusa_metadata&#39;, &#39;geometry&#39;, -1, &#39;POLYGON&#39;, \<br>
2)):<br>
  no such function: AddGeometryColumn<br>
ERROR 1: Check that the OGR SQLite driver has Spatialite support<br>
<br>
<br>
Both GDAL and OGR report that SQLite is a supported format.  I am able to<br>
ogrinfo world.sqlite from the SpatiaLite site, but not SRTM.sqlite.  Any<br>
ideas?  Something wrong with my SQLite libraries or my paths?<br>
<font color="#888888">--<br>
View this message in context: <a href="http://osgeo-org.1803224.n2.nabble.com/rasterlite-creation-error-tp5746493p5746493.html" target="_blank">http://osgeo-org.1803224.n2.nabble.com/rasterlite-creation-error-tp5746493p5746493.html</a><br>

Sent from the GDAL - Dev mailing list archive at Nabble.com.<br>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Best regards,<br>Chaitanya kumar CH.<br>/tʃaɪθənjə/ /kʊmɑr/ <br>+91-9494447584<br>17.2416N 80.1426E<br>