Casper,<br><br>This message should not appear unless there is a difference in the band data type, colour interpretation or the band order.<br>Can you check if manually adding the old file works?<br><br><div class="gmail_quote">
On Mon, Jul 30, 2012 at 11:01 PM, Casper Børgesen (CABO) <span dir="ltr"><<a href="mailto:CABO@niras.dk" target="_blank">CABO@niras.dk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">






<div link="blue" vlink="purple" lang="DA">
<div>
<p class="MsoNormal">Hi! <u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span lang="EN-US">I’m trying to create a VRT file from 4 GeoTIFFs using gdalbuildvrt. Three of the GeoTIFFs are created using OrthoVista and the last one created with an earlier version of the same program. When I run gdalbuildvrt I get
 the following error message when I try to add the file created by the early version:
<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal" style="text-indent:65.2pt"><span lang="EN-US">Warning 6: gdalbuildvrt does not support heterogenous band characteristics. Skipping...<u></u><u></u></span></p>
<p class="MsoNormal" style="text-indent:65.2pt"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Running gdalinfo on the 4 files I see only a difference in the metadata section (and of course in the coordinates).
<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">In the following is the band information from two of the files:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">[From new version]<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Band 1 Block=6250x20 Type=Byte, ColorInterp=Red<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">  Overviews: 1024x1024<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Band 2 Block=6250x20 Type=Byte, ColorInterp=Green<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">  Overviews: 1024x1024<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Band 3 Block=6250x20 Type=Byte, ColorInterp=Blue<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">  Overviews: 1024x1024<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Band 4 Block=6250x20 Type=Byte, ColorInterp=Undefined<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">  Overviews: 1024x1024<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">[From earlier version]<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Band 1 Block=6250x20 Type=Byte, ColorInterp=Red<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">  Overviews: 1024x1024<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Band 2 Block=6250x20 Type=Byte, ColorInterp=Green<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">  Overviews: 1024x1024<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Band 3 Block=6250x20 Type=Byte, ColorInterp=Blue<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">  Overviews: 1024x1024<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Band 4 Block=6250x20 Type=Byte, ColorInterp=Undefined<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">  Overviews: 1024x1024<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">To me they seem identical and I can display them both using QGis 1.8. I guess that the difference is deeper inside the TIFFs than gdalinfo informs me about – what can I do to avoid this problem?<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Regards Casper<u></u><u></u></span></p>
</div>
</div>

<br>_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">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></blockquote></div><br><br clear="all"><br>-- <br>Best regards,<br>Chaitanya kumar CH.<br>
<br>+91-9494447584<br>17.2416N 80.1426E<br>