comparison backend/contrib/shpimporter/boundaries.py @ 5851:d5e95f926d13

use correct attribute name STROVOER also for polygon boundaries
author Tom Gottfried <tom.gottfried@intevation.de>
date Fri, 26 Apr 2013 13:12:29 +0200
parents 5aa05a7a34b7
children baae6cbc1086
comparison
equal deleted inserted replaced
5845:1830dae8cb9b 5851:d5e95f926d13
101 newFeat.SetField("kind", kind) 101 newFeat.SetField("kind", kind)
102 102
103 if self.IsFieldSet(feat, "SECTIE"): 103 if self.IsFieldSet(feat, "SECTIE"):
104 newFeat.SetField("sectie", feat.GetField("SECTIE")) 104 newFeat.SetField("sectie", feat.GetField("SECTIE"))
105 105
106 if self.IsFieldSet(feat, "SOBEK"): 106 if self.IsFieldSet(feat, "STROVOER"):
107 newFeat.SetField("sobek", feat.GetField("SOBEK")) 107 newFeat.SetField("sobek", feat.GetField("STROVOER"))
108 108
109 if self.IsFieldSet(feat, "river_id"): 109 if self.IsFieldSet(feat, "river_id"):
110 newFeat.SetField("river_id", feat.GetField("river_id")) 110 newFeat.SetField("river_id", feat.GetField("river_id"))
111 else: 111 else:
112 newFeat.SetField("river_id", self.river_id) 112 newFeat.SetField("river_id", self.river_id)

http://dive4elements.wald.intevation.org