There is a gmt utility named grd2xyz that you might be able to use for this: http://gmt.soest.hawaii.edu/gmt/doc/html/grd2xyz.html --
On Thu, Nov 13, 2008 at 11:02 AM, Frank Warmerdam <[EMAIL PROTECTED]>wrote: > Eran Burstain wrote: > >> Hi. >> 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 ? >> > > Eran, > > No, there is currently no direct support for such a format in GDAL. > > The gdal/swig/python/scripts/gdal2xyz.py script will produce such a file > but it is not then readable with GDAL, nor can it be referenced from a .vrt > file. > > I do frequently use the AAIGRID driver to produce easy to read ascii files, > but it does not produce x/y values for each pixel. > > Best regards, > -- > > ---------------------------------------+-------------------------------------- > I set the clouds in motion - turn up | Frank Warmerdam, > [EMAIL PROTECTED] > light and sound - activate the windows | > http://pobox.com/~warmerdam<http://pobox.com/%7Ewarmerdam> > and watch the world go round - Rush | Geospatial Programmer for Rent > > _______________________________________________ > gdal-dev mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/gdal-dev >
_______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
