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