<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi there,<br><br>The documentation says:<br><br>"GDAL can read and write the <i>RPCCoefficientTag</i> as described in the <a href="http://geotiff.maptools.org/rpc_prop.html">
RPCs in GeoTIFF</a> proposed extension. The tag is written only for
files created with the default profile GDALGeoTIFF. <b>For other profiles, a .RPB file
is created.</b> In GDAL data model, the RPC coefficients are stored into the RPC metadata domain.
For more details, see the <a href="http://trac.osgeo.org/gdal/wiki/rfc22_rpc">RPC Georeferencing RFC</a>.
If .RPB or _RPC.TXT files are found, they will be used to read the RPCs, even if the <i>RPCCoefficientTag</i> tag is set." [http://www.gdal.org/frmt_gtiff.html]<br><br>But there is no way to export the RPC metadata into the .tif.aux.xml file, like with other drivers.<br><br>I tried to turn off the create-option RPB but that doesn't work but It creates the .RPB file anyway.<br><br><blockquote>$ gdal_translate -of gtiff <source dataset> output.tif -co profile=beseline <b>-co RPB=no</b><br>$ ls<br>output.tif<br>output.RPB<br></blockquote><br>That woks fine with PNG/JPEG/BMP<br><br><blockquote>$ gdal_translate -of png <source dataset> output.png<br>$ ls<br>output.png<br>output.png.aux.xml<br></blockquote><br>Is that how it suppose to be or is it a bug? I mean, by entering -co RPB=no GTIFF should create a .aux.xml like other drivers do. Right?<br><br>Regards,<br><br>Ivan<br><br> </div></body>
</html>