Mercurial > dive4elements > river
comparison flys-backend/contrib/shpimporter/importer.py @ 2862:998f1a7dcfde
New shape importers and schema modifications.
flys-backend/trunk@4345 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Fri, 04 May 2012 06:58:00 +0000 |
parents | b0132e1b9719 |
children | 59ca5dab2782 |
comparison
equal
deleted
inserted
replaced
2861:b0132e1b9719 | 2862:998f1a7dcfde |
---|---|
40 def isShapeRelevant(self, name, path): | 40 def isShapeRelevant(self, name, path): |
41 return True | 41 return True |
42 | 42 |
43 | 43 |
44 def walkOverShapes(self, shape): | 44 def walkOverShapes(self, shape): |
45 print "---" | |
45 (name, path) = shape | 46 (name, path) = shape |
46 if not self.isShapeRelevant(name, path): | 47 if not self.isShapeRelevant(name, path): |
47 print "Skip shapefile '%s'" % name | 48 print "Skip shapefile '%s'" % name |
48 return | 49 return |
49 | 50 |