diff artifacts/src/main/java/org/dive4elements/river/artifacts/uinfo/vegetationzones/VegetationZonesCrossSectionProcessor.java @ 9509:6146358c4842

Fixed: f2 sign corrected in vegetation zone height calculation, vegetation zone limit handling changed in the importer
author mschaefer
date Mon, 01 Oct 2018 09:53:36 +0200
parents 8b7bf26b8782
children ee6508687e3f
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/uinfo/vegetationzones/VegetationZonesCrossSectionProcessor.java	Fri Sep 28 18:02:52 2018 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/uinfo/vegetationzones/VegetationZonesCrossSectionProcessor.java	Mon Oct 01 09:53:36 2018 +0200
@@ -96,7 +96,7 @@
 
         // Üfd = -70,559 ∗ ln((DGM - MW) + 0,5) + 80,711
         final double f1 = -70.559;
-        final double f2 = -88.711;
+        final double f2 = 88.711;
 
         final double dgm = Math.exp((uefd - f2) / f1) + mw - 0.5;
         return dgm;

http://dive4elements.wald.intevation.org