[gdal-dev] Overwriting Georeferencing Information of a GeoTIFF
file
Even Rouault
even.rouault at mines-paris.org
Tue May 5 14:31:12 EDT 2009
You can use the -a_srs and/or -a_ullr options (depending if you're interested
in the SRS or the georeferenced coordinates) of gdal_translate to produce a
new GeoTIFF with overriden information.
Le Tuesday 05 May 2009 13:53:25 Andreas Neumann, vous avez écrit :
> Hi GDAL users/developers,
>
> Is it possible to overwrite georeferencing information of an existing
> geotiff file? For some reasons, some of the files I received have
> georeferencing information in Millimeters instead of Meters. All of my
> data uses meters as units.
>
> I thought that maybe it is possible to create a tfw file and modify the
> tfw file, but since the tiff file also has the original georeferencing
> information in millimeters, the internal georeferencing still takes
> precedence over the external tfw file. Is there some way to force gdal to
> prefer the tfw file?
>
> If not - what else could I do? Write different projection files?
>
> Actually, I don't want to modify the rasters at all, just the
> georeferencing information.
>
> Thanks for any hints,
> Andreas
More information about the gdal-dev
mailing list