comparison flys-backend/contrib/shpimporter/jetties.py @ 5540:25c2505df28f

Merged
author Christian Lins <christian.lins@intevation.de>
date Wed, 03 Apr 2013 16:00:21 +0200
parents 91b14ade2149
children
comparison
equal deleted inserted replaced
5539:8d0af912351c 5540:25c2505df28f
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