comparison flys-backend/contrib/shpimporter/importer.py @ 5001:fed74592a2ba dami

Fix syntax error
author Andre Heinecke <aheinecke@intevation.de>
date Fri, 15 Feb 2013 12:41:27 +0100
parents 998b29c8d2fd
children f1c01fecf194
comparison
equal deleted inserted replaced
4999:929ec3ed7dc2 5001:fed74592a2ba
212 unsupported[utils.getWkbString(geomType)] = \ 212 unsupported[utils.getWkbString(geomType)] = \
213 unsupported.get(utils.getWkbString(geomType), 0) + 1 213 unsupported.get(utils.getWkbString(geomType), 0) + 1
214 214
215 shpimporter.INFO("Inserted %i features" % success) 215 shpimporter.INFO("Inserted %i features" % success)
216 shpimporter.INFO("Failed to create %i features" % creationFailed) 216 shpimporter.INFO("Failed to create %i features" % creationFailed)
217 for key, value in unsupported: 217 for key, value in unsupported.items():
218 shpimporter.INFO("Found %i unsupported features of type: %s" % (value, key)) 218 shpimporter.INFO("Found %i unsupported features of type: %s" % (value, key))
219 219
220 if self.tracking_import: 220 if self.tracking_import:
221 unhandled = [] 221 unhandled = []
222 for i in range(0, srcLayer.GetLayerDefn().GetFieldCount()): 222 for i in range(0, srcLayer.GetLayerDefn().GetFieldCount()):

http://dive4elements.wald.intevation.org