comparison flys-backend/contrib/shpimporter/shpimporter.py @ 5011:514948fdae54 dami

Do not skip hws_lines when skip hws_points is true
author Andre Heinecke <aheinecke@intevation.de>
date Tue, 19 Feb 2013 09:52:49 +0100
parents 769593a84606
children a79f6a085ab6
comparison
equal deleted inserted replaced
5010:ee52faa6b7ac 5011:514948fdae54
115 return True 115 return True
116 elif config.skip_floodplains == 1 and isinstance(importer, Floodplain): 116 elif config.skip_floodplains == 1 and isinstance(importer, Floodplain):
117 return True 117 return True
118 elif config.skip_hws_lines == 1 and isinstance(importer, HWSLines): 118 elif config.skip_hws_lines == 1 and isinstance(importer, HWSLines):
119 return True 119 return True
120 elif config.skip_hws_points == 1 and isinstance(importer, HWSPoints): 120 elif config.skip_hws_points == 1 and isinstance(importer, HWSPoints) and \
121 not isinstance(importer, HWSLines):
121 return True 122 return True
122 elif config.skip_gauge_locations == 1 and isinstance(importer, GaugeLocation): 123 elif config.skip_gauge_locations == 1 and isinstance(importer, GaugeLocation):
123 return True 124 return True
124 elif config.skip_catchments == 1 and isinstance(importer, Catchment): 125 elif config.skip_catchments == 1 and isinstance(importer, Catchment):
125 return True 126 return True

http://dive4elements.wald.intevation.org