[gdal-dev] Re: remove coordinate system info from a GTiff

Jukka Rahkonen jukka.rahkonen at mmmtike.fi
Mon Nov 15 08:07:58 EST 2010


Eloi Ribeiro <eloi.ribeiro <at> gmail.com> writes:

> 
> 
> Hi all,
> 
> By mistake I have assigned the wrong coordinate system to a GTiff image and
deleted the original file.
> How can I remove coordinate system info from a GTiff and then assign the
correct one with no warping involved in the process?
> Thanks for your help!

Hi,

Make first a clean intermediate tiff file with gdal_translate by using -co
PROFILE=BASELINE and -co TFW=YES, then convert this plain tiff by using -a_srs.
There can be more sophisticated solutions.

-Jukka Rahkonen-



More information about the gdal-dev mailing list