[geos-devel] [GEOS] #216: WKBWriter does not write 3D values correctly

GEOS geos-trac at osgeo.org
Wed Nov 19 14:58:29 EST 2008


#216: WKBWriter does not write 3D values correctly
----------------------+-----------------------------------------------------
 Reporter:  jbronn    |       Owner:  geos-devel at lists.osgeo.org
     Type:  defect    |      Status:  new                       
 Priority:  major     |   Milestone:  3.1                       
Component:  Core      |     Version:  svn-trunk                 
 Severity:  Critical  |    Keywords:  wkbwriter 3d z            
----------------------+-----------------------------------------------------
 I've been having much difficulty with the `WKBWriter` class as I could not
 get it to produce correct 3D WKB/HEX values.  Turns out that
 `WKBWriter::writeCoordinate` ''always'' outputs the X value in place of
 the Z coordinate.

 Attached is a patch and a C API demonstration of the problem.

-- 
Ticket URL: <http://trac.osgeo.org/geos/ticket/216>
GEOS <http://geos.refractions.net/>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).


More information about the geos-devel mailing list