changeset 7129:7fc41a235f47

Also handle bed height annotations
author Andre Heinecke <aheinecke@intevation.de>
date Wed, 25 Sep 2013 11:51:47 +0200
parents 917b26172853
children c882fcf75a0d
files artifacts/src/main/java/org/dive4elements/river/exports/process/AnnotationProcessor.java
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/exports/process/AnnotationProcessor.java	Wed Sep 25 11:51:22 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/exports/process/AnnotationProcessor.java	Wed Sep 25 11:51:47 2013 +0200
@@ -79,6 +79,7 @@
         if (facetType == null) {
             return false;
         }
-        return facetType.equals(FacetTypes.LONGITUDINAL_ANNOTATION);
+        return facetType.equals(FacetTypes.LONGITUDINAL_ANNOTATION) ||
+            facetType.equals(FacetTypes.MIDDLE_BED_HEIGHT_ANNOTATION);
     }
 }

http://dive4elements.wald.intevation.org