Finally got round to setting up geodjango properly - postgresql db
etc. and been inspecting some shapefiles for import.  I get this
error:

>>> from django.contrib.gis.utils import ogrinfo, ogrinspect
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/django/contrib/gis/utils/ogrinfo.py", line 7,
in <module>
    from django.contrib.gis.gdal import DataSource
ImportError: cannot import name DataSource

Clearly something to do with my Gdal installation?  I'm running OS X
Leopard and wondering where to begin to debug the error?

Thanks,

Allan


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to