[geos-commits] r2228 - trunk/source/io
svn_geos at osgeo.org
svn_geos at osgeo.org
Wed Nov 26 14:27:17 EST 2008
Author: pramsey
Date: 2008-11-26 14:27:17 -0500 (Wed, 26 Nov 2008)
New Revision: 2228
Modified:
trunk/source/io/WKBWriter.cpp
Log:
Allow proper writing out of z ordinates. From Justin Bronn (#216)
Modified: trunk/source/io/WKBWriter.cpp
===================================================================
--- trunk/source/io/WKBWriter.cpp 2008-11-26 19:25:04 UTC (rev 2227)
+++ trunk/source/io/WKBWriter.cpp 2008-11-26 19:27:17 UTC (rev 2228)
@@ -252,7 +252,7 @@
if ( is3d )
{
ByteOrderValues::putDouble(
- cs.getOrdinate(idx, CoordinateSequence::X),
+ cs.getOrdinate(idx, CoordinateSequence::Z),
buf, byteOrder);
outStream->write(reinterpret_cast<char *>(buf), 8);
}
More information about the geos-commits
mailing list