[Lada-commits] [PATCH 1 of 5] Create the koordinate_s value correctly

Wald Commits scm-commit at wald.intevation.org
Wed Jan 8 15:02:32 CET 2014


# HG changeset patch
# User Raimund Renkert <rrenkert at intevation.de>
# Date 1389189788 -3600
# Node ID 6a5b506f4559adc205d8414d4e7d5b655c78ffb7
# Parent  414534a2c23d8a8ad67b200e6763a25a5575c503
Create the koordinate_s value correctly.

diff -r 414534a2c23d -r 6a5b506f4559 src/main/java/de/intevation/lada/data/exporter/LAFCreator.java
--- a/src/main/java/de/intevation/lada/data/exporter/LAFCreator.java	Tue Dec 17 12:10:44 2013 +0100
+++ b/src/main/java/de/intevation/lada/data/exporter/LAFCreator.java	Wed Jan 08 15:03:08 2014 +0100
@@ -227,9 +227,9 @@
                 new QueryBuilder<SKoordinatenArt>(
                     readonlyRepo.getEntityManager(), SKoordinatenArt.class);
             String koord = "";
+            koord += "05 ";
             koord += ort.get(0).getLatitude() + " ";
-            koord += ort.get(0).getLongitude() + " ";
-            koord += "UTM (WGS84)";
+            koord += ort.get(0).getLongitude();
             //TODO: use table koordinatenart and koord*extern!
             laf += lafLine("ORT_KOORDINATEN_S", koord);
             laf += lafLine("ORT_GEMEINDESCHLUESSEL", ort.get(0).getGemId());


More information about the Lada-commits mailing list