This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository echobase. See https://gitlab.nuiton.org/codelutin/echobase.git commit 7d8ffa82a653c0c7c6b475471a6af70b5e307183 Author: jcouteau <couteau@codelutin.com> Date: Tue Jan 12 15:15:03 2021 +0100 :bug: fixes #11138 : Normalisation du maxTrawlDepth --- .../echobase/services/service/atlantos/xml/XmlBioticExport.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/echobase-services/src/main/java/fr/ifremer/echobase/services/service/atlantos/xml/XmlBioticExport.java b/echobase-services/src/main/java/fr/ifremer/echobase/services/service/atlantos/xml/XmlBioticExport.java index 7d6d1c27..14dc915a 100644 --- a/echobase-services/src/main/java/fr/ifremer/echobase/services/service/atlantos/xml/XmlBioticExport.java +++ b/echobase-services/src/main/java/fr/ifremer/echobase/services/service/atlantos/xml/XmlBioticExport.java @@ -379,6 +379,11 @@ public class XmlBioticExport implements EchoBaseService { break; } } + + //Normalize MaxTrawlDeh. If MaxTrawlDepth > BottomDepth (meanWaterDepth) -> MaxTrawlDepth = BottomDepth, cf. #11138 + if (maxTrawlDepth > meanWaterDepth.intValue()) { + maxTrawlDepth = meanWaterDepth.intValue(); + } Float startLatitude = operation.getGearShootingStartLatitude(); Float startLongitude = operation.getGearShootingStartLongitude(); -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.