On 3/1/11 2:45 AM, Marc wrote:
Why is my third coord ignored ? I can see that the 'coords' attribute
has the 3rd value, but it looks like it's being ignored by some routine
(for example, printing or exporting to wkt). The '_ndim' is correctly
set to 3, so as I understand, the 3rd value should be used... ?

The WKT writer in GEOS does not serialize 3D coordinates by default:

http://trac.osgeo.org/geos/browser/trunk/src/io/WKTWriter.cpp#L118

If you're adventurous, you can try enabling the PRINT_Z macro. GEOS only supports exporting 3D information as EWKB/HEXEWKB.

-Justin
_______________________________________________
Community mailing list
[email protected]
http://lists.gispython.org/mailman/listinfo/community

Reply via email to