diff flys-backend/contrib/shpimporter/importer.py @ 3679:2cd2657b3d60

Fixed broken method call in geo importer. flys-backend/trunk@5311 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Thu, 30 Aug 2012 09:59:56 +0000
parents c37effda3655
children 82e931f88137
line wrap: on
line diff
--- a/flys-backend/contrib/shpimporter/importer.py	Thu Aug 30 09:54:26 2012 +0000
+++ b/flys-backend/contrib/shpimporter/importer.py	Thu Aug 30 09:59:56 2012 +0000
@@ -73,7 +73,7 @@
         src_srs  = geometry.GetSpatialReference()
 
         if src_srs is None:
-            shpimporter.Error("No source SRS given! No transformation possible!")
+            shpimporter.ERROR("No source SRS given! No transformation possible!")
             return feat
 
         transformer = osr.CoordinateTransformation(src_srs, self.dest_srs)

http://dive4elements.wald.intevation.org