[gdal-dev] Remove projection info

Goo Creations goocreations at gmail.com
Tue Jun 21 07:35:48 EDT 2011


Thanks Frank, that worked!

On Tue, Jun 21, 2011 at 1:29 PM, Frank Warmerdam <warmerdam at pobox.com>wrote:

> 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
>
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20110621/57c38c8f/attachment.html


More information about the gdal-dev mailing list