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, [email protected]
light and sound - activate the windows | http://pobox.com/~warmerdam
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

Reply via email to