changeset 660:b4c7de93d5e8

Added Suport for the Geometrytyp SimpleLine. geo-backend/trunk@748 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Mon, 08 Mar 2010 14:06:50 +0000
parents d45bca50b4d7
children f99d8f92a640
files geo-backend/ChangeLog geo-backend/src/main/java/de/intevation/gnv/geobackend/sde/datasources/Row.java
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/geo-backend/ChangeLog	Fri Feb 05 14:12:25 2010 +0000
+++ b/geo-backend/ChangeLog	Mon Mar 08 14:06:50 2010 +0000
@@ -1,3 +1,9 @@
+2010-03-08  Tim Englich  <tim.englich@intevation.de>
+
+	* src/main/java/de/intevation/gnv/geobackend/sde/datasources/Row.java (getPosValue): 
+	  Added Suport for the Geometrytyp SimpleLine.
+	  SimpleLine will be handled as an Line.
+
 2010-02-05  Ingo Weinzierl <ingo.weinzierl@intevation.de>
 
 	  Issue170
--- a/geo-backend/src/main/java/de/intevation/gnv/geobackend/sde/datasources/Row.java	Fri Feb 05 14:12:25 2010 +0000
+++ b/geo-backend/src/main/java/de/intevation/gnv/geobackend/sde/datasources/Row.java	Mon Mar 08 14:06:50 2010 +0000
@@ -253,7 +253,7 @@
                                    .append(mPoint[0].getZ());
                                }
                                 returnValue.append(")");
-                }else if (val.isLine()){
+                }else if (val.isLine() || val.isSimpleLine()){
                     returnValue.append("LINESTRING(");
                     for (int i = 0; i< mPoint.length;i++){
                         returnValue.append(mPoint[i].getX())

http://dive4elements.wald.intevation.org