Mercurial > dive4elements > gnv-client
comparison geo-backend/src/main/java/de/intevation/gnv/geobackend/sde/datasources/Row.java @ 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 | 210716612c30 |
children | f99d8f92a640 |
comparison
equal
deleted
inserted
replaced
659:d45bca50b4d7 | 660:b4c7de93d5e8 |
---|---|
251 if (mPoint[0].is3D()){ | 251 if (mPoint[0].is3D()){ |
252 returnValue.append(" ") | 252 returnValue.append(" ") |
253 .append(mPoint[0].getZ()); | 253 .append(mPoint[0].getZ()); |
254 } | 254 } |
255 returnValue.append(")"); | 255 returnValue.append(")"); |
256 }else if (val.isLine()){ | 256 }else if (val.isLine() || val.isSimpleLine()){ |
257 returnValue.append("LINESTRING("); | 257 returnValue.append("LINESTRING("); |
258 for (int i = 0; i< mPoint.length;i++){ | 258 for (int i = 0; i< mPoint.length;i++){ |
259 returnValue.append(mPoint[i].getX()) | 259 returnValue.append(mPoint[i].getX()) |
260 .append(" ") | 260 .append(" ") |
261 .append(mPoint[i].getY()); | 261 .append(mPoint[i].getY()); |