[Gdal-dev] export an image to ascii text file

Bryan Keith bryan at geomega.com
Fri Feb 3 17:06:49 EST 2006


Matt,

Thanks for pointing that out.  That's a lot better than the one I put 
together.  When I sent my e-mail, I was wondering if Frank had already 
written something like that.

Bryan

Matthew Perry wrote:

>Xiaodong,
>
>  There is a python script distributed with recent versions of gdal
>called "gdal2xyz.py" . I haven't used it for multi-band images and it
>appears that the script handles a single band at a time. You could use
>this to create a seperate text file for each band or modify it to
>output all bands to a single file.
>
>matt
>
>On 2/3/06, Xiaodong Zhang <zhang at aero.und.edu> wrote:
>  
>
>>Hi,
>>
>>I need to export an image (any projection) into an ascii file: coma
>>delimited columns of lat, lon, band 1, band 2, ..... Before I get on
>>that with GDAL library, does anyone have developed or know of such a
>>program, which can be shared.
>>
>>Thanks
>>Xiaodong
>>
>>--
>>____________________________________________
>>
>>Xiaodong Zhang
>>Department of Earth System Science & Policy
>>Clifford Hall, Box 9011
>>University of North Dakota
>>Grand Forks, ND 58202-9011
>>Tel. (701)777-6087 | Fax. (701)777-2940
>>E-mail: zhang at aero.und.edu
>>_____________________________________________
>>
>>_______________________________________________
>>Gdal-dev mailing list
>>Gdal-dev at lists.maptools.org
>>http://lists.maptools.org/mailman/listinfo/gdal-dev
>>
>>    
>>
>
>
>--
>Matt Perry
>perrygeo at gmail.com
>http://www.perrygeo.net
>
>_______________________________________________
>Gdal-dev mailing list
>Gdal-dev at lists.maptools.org
>http://lists.maptools.org/mailman/listinfo/gdal-dev
>
>
>  
>



More information about the Gdal-dev mailing list