[gdal-dev] Re: converting ascci to geotiff
Frank Warmerdam
warmerdam at pobox.com
Thu Sep 17 13:03:03 EDT 2009
Hermann Peifer wrote:
> Riki Tiki wrote:
>> Hi,
>>
>> Phase 1) let's assume i convert the geotiff -> "file1.tif" to ascii
>> grid file -> "file2.txt"... Phase 2) later on i change some of the
>> values of file2.txt, now i want to again convert the file2.txt (with
>> changed data part...) to geotiff with the projection information of
>> file1.tif... Can you help me to work around this phase?
>>
>> Thanks,
>> Riki
>
> What about:
>
> gdal_translate file2.asc file1.tif
>
> (I think the *.asc suffix is mandatory)
Riki,
Right - as far as I can see the GDAL 1.6.x writes a .prj file when it
produces files with the AAIGRID driver and it would pick that up when
translating back to tiff.
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
and watch the world go round - Rush | Geospatial Programmer for Rent
More information about the gdal-dev
mailing list