[gdal-dev] GDAL Utilities: Keeping output format identical to input format
Zoltan Szecsei
zoltans at geograph.co.za
Mon Dec 15 02:27:13 PST 2014
Hi,
I've got a few GeoTiffs which have malformed projection/CRS data in them.
I also have ones with the correct data in them.
I would like to replace the malformed projection info with the correct
one, _without having the original bands re-sampled in any way whatsoever_.
If I use gdal_translate -a_srs +proj="tmerc wadda wadda" tiffbad
tiffgood, is there a way to keep the bands identical to the input tiff file?
(Maybe someone has written a utility to strip this info out of a 'good'
image, and set it for use in gdal_translate?)
In a similar vein, using gdaladdo to build pyramids does leave the
original bands untouched and simply adds the newly calculated overviews
to the tiff image, does it not?
TIA,
Regards,
Zoltan
--
===========================================
Zoltan Szecsei PrGISc [PGP0031]
Geograph (Pty) Ltd.
GIS and Photogrammetric Services
P.O. Box 7, Muizenberg 7950, South Africa.
Mobile: +27-83-6004028
Fax: +27-86-6115323 www.geograph.co.za
===========================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20141215/dce01c63/attachment.html>
More information about the gdal-dev
mailing list