Thanks Frank, that worked!<br><br><div class="gmail_quote">On Tue, Jun 21, 2011 at 1:29 PM, Frank Warmerdam <span dir="ltr">&lt;<a href="mailto:warmerdam@pobox.com">warmerdam@pobox.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div></div><div class="h5">On 11-06-21 07:05 AM, Goo Creations wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi all,<br>
<br>
I&#39;m looking for a way to remove any projection and CRS information from an<br>
image. I&#39;ve tried:<br>
<br>
gdal_translate -a_srs &quot;&quot; in.tif out.tif<br>
<br>
but without any success. Does anyone know how to do this (or by using<br>
CreateCopy() via source code)?<br>
</blockquote>
<br></div></div>
Goo,<br>
<br>
Using -co PROFILE=BASELINE will produce a TIFF file with no internal<br>
georeferencing tags of any kind.  There might still be a .aux.xml you<br>
could remove.<br>
<br>
Unfortunately I don&#39;t think the -a_srs (and the SetFromUserInput() method<br>
that underlies it) has a way of setting an empty coordinate system.  Perhaps<br>
that should be enabled.<br>
<br>
Best regards,<br><font color="#888888">
-- <br>
---------------------------------------+--------------------------------------<br>
I set the clouds in motion - turn up   | Frank Warmerdam, <a href="mailto:warmerdam@pobox.com" target="_blank">warmerdam@pobox.com</a><br>
light and sound - activate the windows | <a href="http://pobox.com/%7Ewarmerdam" target="_blank">http://pobox.com/~warmerdam</a><br>
and watch the world go round - Rush    | Geospatial Programmer for Rent</font><div><div></div><div class="h5"><br>
<br>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</div></div></blockquote></div><br>