The command line switch to use for GEOMETRY=AS_XYZ is -lco and not -nlt
ogr2ogr -f "CSV" SOUNDG.csv SOUNDG.shp -lco GEOMETRY=AS_XYZ
And it will only work with a version of GDAL built from very recent sources
(it will come in GDAL 1.6.0)
Le Friday 07 November 2008 18:39:35 Donnet, Sebastien, vou
Hi,
I'm not sure I'm in the right spot to post this, but I couldn't find a
better place, forgive me if it is not.
I'm trying to export 2 layers from a S-57 ENC (Electronic Nautical
Chart) into a "human readable" format, such as an ASCII or text file
like: X,Y,Z coordinates.
Basically, the "