[gdal-dev] Remove projection info
Frank Warmerdam
warmerdam at pobox.com
Tue Jun 21 07:29:18 EDT 2011
On 11-06-21 07:05 AM, Goo Creations wrote:
> Hi all,
>
> I'm looking for a way to remove any projection and CRS information from an
> image. I've tried:
>
> gdal_translate -a_srs "" in.tif out.tif
>
> but without any success. Does anyone know how to do this (or by using
> CreateCopy() via source code)?
Goo,
Using -co PROFILE=BASELINE will produce a TIFF file with no internal
georeferencing tags of any kind. There might still be a .aux.xml you
could remove.
Unfortunately I don't think the -a_srs (and the SetFromUserInput() method
that underlies it) has a way of setting an empty coordinate system. Perhaps
that should be enabled.
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