Mercurial > dive4elements > river
diff artifacts/src/main/java/org/dive4elements/river/artifacts/uinfo/vegetationzones/VegetationZonesCalculation.java @ 9506:8b7bf26b8782
Predefined artifact for standard vegetation zones.
Some minor adaptions.
author | gernotbelger |
---|---|
date | Fri, 28 Sep 2018 13:44:12 +0200 |
parents | e2da9c8a7c57 |
children |
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/uinfo/vegetationzones/VegetationZonesCalculation.java Fri Sep 28 10:16:12 2018 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/uinfo/vegetationzones/VegetationZonesCalculation.java Fri Sep 28 13:44:12 2018 +0200 @@ -62,7 +62,9 @@ rows.add(row2); } - final VegetationZonesCalculationResult result = new VegetationZonesCalculationResult("Ergebnis 1", rows); + final String label = String.format("%.3f - %.3f", calcRange.getMinimumDouble(), calcRange.getMaximumDouble()); + + final VegetationZonesCalculationResult result = new VegetationZonesCalculationResult(label, rows); results.addResult(result, problems);