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, warmer...@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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to