changeset 7220:7a6cb5b34bfc

issue1435: For Sediment Density Facets, use densities name/description.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Tue, 01 Oct 2013 10:06:11 +0200
parents 13f0bdeb2b47
children 2c26a7217732
files artifacts/src/main/java/org/dive4elements/river/artifacts/SedimentDensityArtifact.java
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/SedimentDensityArtifact.java	Tue Oct 01 10:03:20 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/SedimentDensityArtifact.java	Tue Oct 01 10:06:11 2013 +0200
@@ -131,15 +131,12 @@
         String code = getDatacageIDValue(data);
 
         if (code != null) {
-            //String name = SedimentDensityFactory.getSedimentDensityDescription(Integer.valueOf(code));
-
-            String name = "facet";
+            String name = SedimentDensityFactory.getSedimentDensityDescription(Integer.valueOf(code));
 
             Facet facet = new SedimentDensityFacet(
                 0,
                 SEDIMENT_DENSITY,
                 name,
-                //????
                 ComputeType.ADVANCE, state.getID(), "hash"
                 );
             fs.add(facet);

http://dive4elements.wald.intevation.org