Index: thuban/Extensions/ogr/ogrdialog.py
===================================================================
--- thuban.orig/Extensions/ogr/ogrdialog.py	2011-11-03 16:45:05.000000000 +0100
+++ thuban/Extensions/ogr/ogrdialog.py	2011-11-03 16:52:54.000000000 +0100
@@ -14,7 +14,7 @@
 import wx
 
 try:
-    import ogr
+    from osgeo import ogr
 except ImportError:
     ogr = None
 
Index: thuban/Extensions/ogr/ogrshapes.py
===================================================================
--- thuban.orig/Extensions/ogr/ogrshapes.py	2011-11-03 16:45:05.000000000 +0100
+++ thuban/Extensions/ogr/ogrshapes.py	2011-11-03 16:52:54.000000000 +0100
@@ -12,7 +12,7 @@
 # $Id: ogrshapes.py 2770 2007-05-22 08:54:41Z bh $
 
 try:
-    import ogr
+    from osgeo import ogr
 except ImportError:
     ogr = None
 
Index: thuban/Thuban/Model/layer.py
===================================================================
--- thuban.orig/Thuban/Model/layer.py	2011-11-03 16:45:05.000000000 +0100
+++ thuban/Thuban/Model/layer.py	2011-11-03 16:52:54.000000000 +0100
@@ -395,8 +395,8 @@
 
 
 if resource.has_gdal_support():
-    import gdal
-    from gdalconst import GA_ReadOnly
+    from osgeo import gdal
+    from osgeo.gdalconst import GA_ReadOnly
 
 class RasterLayer(BaseLayer):
 
