<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>I've installed wktraster on my OSX 10.6.4 machine and have loaded the extension into a database: </div><div><br></div><div><div>test1=# select * from rpt_versions;</div><div>-[ RECORD 1 ]----------+---------------------------------------------------------------------------------------------------------------------------------------</div><div>current_database       | test1</div><div>current_user           | postgres</div><div>postgres_version       | PostgreSQL 8.4.4 on i386-apple-darwin10.4.0, compiled by GCC i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5659), 32-bit</div><div>postgis_version        | POSTGIS="1.5.1" GEOS="3.1.1-CAPI-1.6.0" PROJ="Rel. 4.7.1, 23 September 2009" LIBXML="2.7.3" USE_STATS</div><div>wkt_version            | 0.1.6d</div><div>wkt_version_build_date | 2010-07-12 20:37:11</div><div><br></div><div>test1=# </div></div><div><br></div><div>When I attempt to import some data using the gdal2wktraster script, I get the following:</div><div><br></div><div>Jeff-Hamanns-MacBook-Pro:scripts hamannj$ python gdal2wktraster.py </div><div>Traceback (most recent call last):</div><div>  File "gdal2wktraster.py", line 33, in <module></div><div>    from osgeo import gdal</div><div>  File "/Library/Python/2.6/site-packages/GDAL-1.7.2-py2.6-macosx-10.6-universal.egg/osgeo/__init__.py", line 21, in <module></div><div>    _gdal = swig_import_helper()</div><div>  File "/Library/Python/2.6/site-packages/GDAL-1.7.2-py2.6-macosx-10.6-universal.egg/osgeo/__init__.py", line 17, in swig_import_helper</div><div>    _mod = imp.load_module('_gdal', fp, pathname, description)</div><div>ImportError: dlopen(/Library/Python/2.6/site-packages/GDAL-1.7.2-py2.6-macosx-10.6-universal.egg/osgeo/_gdal.so, 2): Symbol not found: _CPLDefaultErrorHandler</div><div>  Referenced from: /Library/Python/2.6/site-packages/GDAL-1.7.2-py2.6-macosx-10.6-universal.egg/osgeo/_gdal.so</div><div>  Expected in: flat namespace</div><div> in /Library/Python/2.6/site-packages/GDAL-1.7.2-py2.6-macosx-10.6-universal.egg/osgeo/_gdal.so</div><div>Jeff-Hamanns-MacBook-Pro:scripts hamannj$ </div><div><br></div><div>but since I'm not a python guy, I'm not sure how to fix these errors. </div><div><br></div><div>Do I need to go into python and submit some commands? </div><div><br></div><div>Do I need to compile something (gdal/ogr?) with alternative settings?</div><div><br></div><div>Thanks,</div><div>Jeff.</div><div><br></div><div><br></div><div><br></div><div>
<div>Jeff Hamann, PhD<br>PO Box 1421<br>Corvallis, Oregon 97339-1421<br>541-754-2457<br>jeff.hamann[at]forestinformatics[dot]com<br><a href="http://www.forestinformatics.com/">http://www.forestinformatics.com</a></div>
</div>
<br></body></html>