Hello<br><br>I am trying to rotate some GeoTiff images to be &quot;North Up&quot;.&nbsp; When I run gdalwarp, it seems to eat the Geo Transform and other geo information.<br><br>The input image, which we&#39;ll call in.tif, has gdalinfo which looks like this:
<br>Driver: GTiff/GeoTIFF<br>Size is 27552, 30080<br>Coordinate System is:<br>GEOGCS[&quot;WGS 84&quot;,<br>&nbsp;&nbsp;&nbsp; DATUM[&quot;WGS_1984&quot;,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SPHEROID[&quot;WGS 84&quot;,6378137,298.2572235629972,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AUTHORITY[&quot;EPSG&quot;,&quot;7030&quot;]],
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AUTHORITY[&quot;EPSG&quot;,&quot;6326&quot;]],<br>&nbsp;&nbsp;&nbsp; PRIMEM[&quot;Greenwich&quot;,0],<br>&nbsp;&nbsp;&nbsp; UNIT[&quot;degree&quot;,0.0174532925199433],<br>&nbsp;&nbsp;&nbsp; AUTHORITY[&quot;EPSG&quot;,&quot;4326&quot;]]<br>GeoTransform =
<br>&nbsp; &lt;lon offset&gt; &lt;scale related&gt; &lt;nonzero rotation&gt;<br>&nbsp; &lt;lat offset&gt; &lt;nonzero rotation&gt; &lt;scale related&gt;<br>Metadata:<br>&nbsp;tons of key-value pairs here.<br>Corner Coordinates:<br>&nbsp;listed in Lat/Long
<br><br>I&#39;d like to have the same type of info in the output file, but with the rotations both zero (north up)<br><br>I tried:<br>gdalwarp in.tif out.tif<br><br>this results in the out.tif having no geo information, where gdalinfo outputs:
<br>Driver: GTiff/GeoTIFF<br>Size is 28141, 29577<br>Coordinate System is `&#39;<br>Corner Coordinates:<br>Upper Left&nbsp; (&nbsp;&nbsp;&nbsp; 0.0,&nbsp;&nbsp;&nbsp; 0.0)<br>Lower Left&nbsp; (&nbsp;&nbsp;&nbsp; 0.0,29577.0)<br>Upper Right (28141.0,&nbsp;&nbsp;&nbsp; 0.0)<br>Lower Right (28141.0
,29577.0)<br>Center&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (14070.5,14788.5)<br>Band 1 Block=28141x1 Type=UInt16, ColorInterp=Gray<br><br>The problems as I see it are:<br>1) the coordinate system is gone in the output<br>2) the geo transform info is gone (including pixel scale and coordinate system offset)
<br>3) the corners are now expressed in pixel values (because of #2?)<br>4) all the metadata name/value pairs are gone<br><br>I tried many other variations, including specifying the target SRS values, and the source and target SRS, but I must confess I&#39;m not sure I got this exactly right:
<br><br>gdalwarp -s_srs &quot;+proj=latlong +datum=WGS84&quot; -t_srs &quot;+proj=latlong +datum=WGS84&quot; -multi in.tif out.tif<br><br>I also tried adding &quot;+north&quot; to the target projection, which I saw on this list somewhere.
<br><br>Can anyone explain what I am doing wrong?<br><br>Thanks in advance!<br><br>Dan<br>