diff flys-backend/contrib/shpimporter/importer.py @ 4951:23a090b41543 dami

Importer: Check lowercase pathname and handle utf-8 conversion
author Andre Heinecke <aheinecke@intevation.de>
date Fri, 01 Feb 2013 09:12:33 +0100
parents c0a58558b817
children 174fbaa3d344
line wrap: on
line diff
--- a/flys-backend/contrib/shpimporter/importer.py	Thu Jan 31 12:24:52 2013 +0100
+++ b/flys-backend/contrib/shpimporter/importer.py	Fri Feb 01 09:12:33 2013 +0100
@@ -187,7 +187,7 @@
             if self.isGeometryValid(geomType):
                 newFeat = self.createNewFeature(featureDef,
                                                 feat,
-                                                name=name,
+                                                name=utils.getUTF8(name),
                                                 path=path)
 
                 if newFeat is not None:

http://dive4elements.wald.intevation.org