diff flys-backend/contrib/shpimporter/shpimporter.py @ 4996:d19c07c10986 dami

Remove lines
author Andre Heinecke <aheinecke@intevation.de>
date Fri, 15 Feb 2013 11:54:11 +0100
parents f4d61ac84b76
children ab5d8f73a982
line wrap: on
line diff
--- a/flys-backend/contrib/shpimporter/shpimporter.py	Fri Feb 15 11:51:58 2013 +0100
+++ b/flys-backend/contrib/shpimporter/shpimporter.py	Fri Feb 15 11:54:11 2013 +0100
@@ -10,7 +10,6 @@
 from uesg  import UESG
 from axis  import Axis
 from km    import KM
-from lines import Line
 from fixpoints import Fixpoint
 from buildings import Building
 from crosssectiontracks import CrosssectionTrack
@@ -75,7 +74,6 @@
     parser.add_option("--skip_hydr_boundaries", type="int")
     parser.add_option("--skip_buildings", type="int")
     parser.add_option("--skip_crosssections", type="int")
-    parser.add_option("--skip_lines", type="int")
     parser.add_option("--skip_fixpoints", type="int")
     parser.add_option("--skip_floodplains", type="int")
     parser.add_option("--skip_hws_lines", type="int")
@@ -115,8 +113,6 @@
         return True
     elif config.skip_crosssections == 1 and isinstance(importer, CrosssectionTrack):
         return True
-    elif config.skip_lines == 1 and isinstance(importer, Line):
-        return True
     elif config.skip_fixpoints == 1 and isinstance(importer, Fixpoint):
         return True
     elif config.skip_floodplains == 1 and isinstance(importer, Floodplain):

http://dive4elements.wald.intevation.org