Hello,<br><br>I met some trouble using -a_ullr option in some case. I have a file input.tif :<br>&gt; gdalinfo input.tif<br>Driver: GTiff/GeoTIFF<br>Files: input.tif<br>Size is 1026, 1076<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, 1076.0)<br>Upper Right ( 1026.0,&nbsp;&nbsp;&nbsp; 0.0)<br>Lower Right ( 1026.0, 1076.0)<br>Center&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (&nbsp; 513.0,&nbsp; 538.0)<br>Band 1 Block=1026x7 Type=Byte, ColorInterp=Palette
<br>&nbsp; Color Table (RGB with 256 entries)<br>... blabla<br><br>I try to translate it :<br>&gt; gdal_translate -a_ullr 0.000000000000 0.000000000000 1026.000000000000 -1076.000 input.tif output.tif<br><br>process OK, but :<br>
&gt; gdalinfo output.tif<br>Driver: GTiff/GeoTIFF<br>
Files: output.tif<br>
Size is 1026, 1076<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, 1076.0)<br>
Upper Right ( 1026.0,&nbsp;&nbsp;&nbsp; 0.0)<br>
Lower Right ( 1026.0, 1076.0)<br>
Center&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (&nbsp; 513.0,&nbsp; 538.0)<br>
Band 1 Block=1026x7 Type=Byte, ColorInterp=Palette<br>
&nbsp; Color Table (RGB with 256 entries)<br>
... blabla<br><br>While I expected this kind of result :<br>Driver: GTiff/GeoTIFF<br>Files: output.tif<br>Size is 1026, 1076<br>Coordinate System is `&#39;<br>Origin = (1.000000000000000,1.000000000000000)<br>Pixel Size = (
1.000000000000000,-1.000000000000000)<br>Corner Coordinates:<br>Upper Left&nbsp; (&nbsp;&nbsp; 1.0000000,&nbsp;&nbsp; 1.0000000) <br>Lower Left&nbsp; (&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.000,&nbsp;&nbsp; -1076.000) <br>Upper Right (&nbsp;&nbsp;&nbsp; 1026.000,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.000) <br>Lower Right (&nbsp;&nbsp;&nbsp; 1026.000
,&nbsp;&nbsp; -1076.000) <br>Center&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (&nbsp;&nbsp;&nbsp;&nbsp; 513.000,&nbsp;&nbsp;&nbsp; -538.000) <br>Band 1 Block=1026x7 Type=Byte, ColorInterp=Palette<br>&nbsp; Color Table (RGB with 256 entries)<br>... blabla<br><br>If I change one value of -a_ullr, everything is OK, but for those specific values, it doesn&#39;t work ! Is it normal or is it a bug ?
<br><br>Thanks for your replies.<br><br>Best regards,<br>Guillaume.<br>