comparison flys-backend/contrib/shpimporter/jetties.py @ 5452:5287440b57b3

merged.
author Raimund Renkert <rrenkert@intevation.de>
date Wed, 27 Mar 2013 11:48:53 +0100
parents 91b14ade2149
children
comparison
equal deleted inserted replaced
5451:278d8759c92b 5452:5287440b57b3
66 66
67 self.copyFields(feat, newFeat, self.fieldmap) 67 self.copyFields(feat, newFeat, self.fieldmap)
68 68
69 newFeat.SetGeometry(geometry) 69 newFeat.SetGeometry(geometry)
70 70
71 newFeat.SetField("river_id", self.river_id)
72
71 artname = self.searchField("^type$") 73 artname = self.searchField("^type$")
72 if self.IsFieldSet(feat, artname): 74 if self.IsFieldSet(feat, artname):
73 self.handled(artname) 75 self.handled(artname)
74 kind_id = JETTY_KIND.get(feat.GetField(artname).lower()) 76 kind_id = JETTY_KIND.get(feat.GetField(artname).lower())
75 if kind_id == None: 77 if kind_id == None:

http://dive4elements.wald.intevation.org