Mercurial > dive4elements > river
changeset 6309:ebba1a795d76
Correctly set the reference system after conversion
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Wed, 12 Jun 2013 17:45:35 +0200 |
parents | aa4c13220fa0 |
children | 3ac657d60e60 |
files | artifacts/src/main/java/org/dive4elements/river/artifacts/model/WQ.java |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/WQ.java Wed Jun 12 16:59:46 2013 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/WQ.java Wed Jun 12 17:45:35 2013 +0200 @@ -121,6 +121,7 @@ } // If we convert we work on a copy to avoid side effects. WQ ret = new WQ(wq.size(), wq.getName()); + ret.setReferenceSystem(wq.CENTIMETER_AT_GAUGE); // When we convert and have a datum we have a calculated // result at a gauge so we must subtract the datum.