changeset 2820:7dffd28271d0

Added a config option to skip parsing morphological widths. flys-backend/trunk@4237 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Fri, 13 Apr 2012 13:05:14 +0000
parents 0c2567626754
children 0a536eb5d668
files flys-backend/ChangeLog flys-backend/src/main/java/de/intevation/flys/importer/Config.java
diffstat 2 files changed, 14 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/flys-backend/ChangeLog	Fri Apr 13 12:53:29 2012 +0000
+++ b/flys-backend/ChangeLog	Fri Apr 13 13:05:14 2012 +0000
@@ -1,3 +1,10 @@
+2012-04-13  Ingo Weinzierl <ingo@intevation.de>
+
+	* src/main/java/de/intevation/flys/importer/Config.java: Added a config
+	  option to skip parsing morphological widths:
+
+	    -Dflys.backend.importer.skip.morphological.width=true
+
 2012-04-13  Ingo Weinzierl <ingo@intevation.de>
 
 	* doc/schema/oracle-minfo.sql: Added a description field to morphological
--- a/flys-backend/src/main/java/de/intevation/flys/importer/Config.java	Fri Apr 13 12:53:29 2012 +0000
+++ b/flys-backend/src/main/java/de/intevation/flys/importer/Config.java	Fri Apr 13 13:05:14 2012 +0000
@@ -50,6 +50,9 @@
     public static final String SKIP_SEDIMENT_DENSITY =
         "flys.backend.importer.skip.sediment.density";
 
+    public static final String SKIP_MORPHOLOGICAL_WIDTH =
+        "flys.backend.importer.skip.morphological.width";
+
 
     public static final Config INSTANCE = new Config();
 
@@ -119,5 +122,9 @@
     public boolean skipSedimentDensity() {
         return Boolean.getBoolean(SKIP_SEDIMENT_DENSITY);
     }
+
+    public boolean skipMorphologicalWidth() {
+        return Boolean.getBoolean(SKIP_MORPHOLOGICAL_WIDTH);
+    }
 }
 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org