Mercurial > dive4elements > river
changeset 5384:5a42ca06b93e
Importer act according to specs when importing jetties
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Fri, 22 Mar 2013 17:00:22 +0100 |
parents | c841eac48474 |
children | 2da74705c29d |
files | flys-backend/contrib/shpimporter/jetties.py |
diffstat | 1 files changed, 9 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-backend/contrib/shpimporter/jetties.py Fri Mar 22 16:59:34 2013 +0100 +++ b/flys-backend/contrib/shpimporter/jetties.py Fri Mar 22 17:00:22 2013 +0100 @@ -22,16 +22,23 @@ JETTY_KIND = { "bkl" : 0, "bkr" : 0, + "bk" : 0, "bfl" : 1, "bfr" : 1, + "bf" : 1, "bwl" : 2, "bwr" : 2, + "bw" : 2, } class Jetties(Importer): fieldmap = { - "^station$" : "km", - "^z$" : "z", + "^station$" : "km", + "^km$" : "km", + "^wsv-km$" : "km", + "^z$" : "z", + "^H[oeƶ]{0,2}he$" : "z", + "^m+NHN$" : "z", } def getPath(self, base):