Mercurial > lada > lada-server
changeset 1281:721d992e79f0
merged.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Thu, 02 Feb 2017 17:38:36 +0100 |
parents | a851fc69130c (diff) bbfb7c3b5dd8 (current diff) |
children | 9473a701cfdb |
files | |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main/java/de/intevation/lada/factory/OrtFactory.java Thu Feb 02 17:32:30 2017 +0100 +++ b/src/main/java/de/intevation/lada/factory/OrtFactory.java Thu Feb 02 17:38:36 2017 +0100 @@ -78,8 +78,8 @@ MathTransform transform = CRS.findMathTransform(src, target); Coordinate srcCoord = new Coordinate(); - srcCoord.x = Double.valueOf(xCoord); - srcCoord.y = Double.valueOf(yCoord); + srcCoord.x = Double.valueOf(xCoord.replace(",", ".")); + srcCoord.y = Double.valueOf(yCoord.replace(",", ".")); Coordinate targetCoord = new Coordinate(); JTS.transform(srcCoord, targetCoord, transform);