There is a gmt utility named grd2xyz that you might be able to use for this:<br><a href="http://gmt.soest.hawaii.edu/gmt/doc/html/grd2xyz.html">http://gmt.soest.hawaii.edu/gmt/doc/html/grd2xyz.html</a><br>--<br><br><br><div class="gmail_quote">
On Thu, Nov 13, 2008 at 11:02 AM, Frank Warmerdam <span dir="ltr"><<a href="mailto:warmerdam@pobox.com">warmerdam@pobox.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Eran Burstain wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi.<br>
I want to convert a height map (DTED or other format) to simple ASCII file with X,Y,Z coordinates, supplemental data (datums) should be in separate file (.vrt), Is there support in such a format ?<br>
</blockquote>
<br>
Eran,<br>
<br>
No, there is currently no direct support for such a format in GDAL.<br>
<br>
The gdal/swig/python/scripts/gdal2xyz.py script will produce such a file<br>
but it is not then readable with GDAL, nor can it be referenced from a .vrt<br>
file.<br>
<br>
I do frequently use the AAIGRID driver to produce easy to read ascii files,<br>
but it does not produce x/y values for each pixel.<br>
<br>
Best regards,<br>
-- <br>
---------------------------------------+--------------------------------------<br>
I set the clouds in motion - turn up | Frank Warmerdam, <a href="mailto:warmerdam@pobox.com" target="_blank">warmerdam@pobox.com</a><br>
light and sound - activate the windows | <a href="http://pobox.com/%7Ewarmerdam" target="_blank">http://pobox.com/~warmerdam</a><br>
and watch the world go round - Rush | Geospatial Programmer for Rent<br>
<br>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</blockquote></div><br>