comparison flys-backend/contrib/shpimporter/boundaries.py @ 5750:148365ff484d

Geoimpoter: Use attribute STROVOER, not SOBEK in hydr. boundaries
author Tom Gottfried <tom.gottfried@intevation.de>
date Thu, 18 Apr 2013 09:04:00 +0200
parents 2cd8fcec3f00
children
comparison
equal deleted inserted replaced
5749:2cd8fcec3f00 5750:148365ff484d
58 newFeat.SetField("name", args['name']) 58 newFeat.SetField("name", args['name'])
59 newFeat.SetField("kind", kind) 59 newFeat.SetField("kind", kind)
60 if self.IsFieldSet(feat, "SECTIE"): 60 if self.IsFieldSet(feat, "SECTIE"):
61 newFeat.SetField("sectie", feat.GetField("SECTIE")) 61 newFeat.SetField("sectie", feat.GetField("SECTIE"))
62 62
63 if self.IsFieldSet(feat, "SOBEK"): 63 if self.IsFieldSet(feat, "STROVOER"):
64 newFeat.SetField("sobek", feat.GetField("SOBEK")) 64 newFeat.SetField("sobek", feat.GetField("STROVOER"))
65 65
66 if self.IsFieldSet(feat, "river_id"): 66 if self.IsFieldSet(feat, "river_id"):
67 newFeat.SetField("river_id", feat.GetField("river_id")) 67 newFeat.SetField("river_id", feat.GetField("river_id"))
68 else: 68 else:
69 newFeat.SetField("river_id", self.river_id) 69 newFeat.SetField("river_id", self.river_id)

http://dive4elements.wald.intevation.org