[gdal-dev] raw x-y-z height map.
Roger André
randre at gmail.com
Thu Nov 13 14:22:23 EST 2008
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 <warmerdam at pobox.com>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,
> warmerdam at pobox.com
> 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
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20081113/c2b214d5/attachment.html
More information about the gdal-dev
mailing list