<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On Apr 5, 2010, at 1:29 PM, Matt Klaric wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><br><br><div class="gmail_quote">On Mon, Apr 5, 2010 at 2:52 PM, John C. Tull <span dir="ltr">&lt;<a href="mailto:jctull@gmail.com">jctull@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div style="word-wrap: break-word;"><div><div></div><div class="h5"><div></div><br></div></div><div>Looking at the vrt from the file I built with my drg images, I have this:</div><div><br></div><div><div>&nbsp;&nbsp; &nbsp;&lt;SimpleSource&gt;</div>
<div>&nbsp;&nbsp; &nbsp; &nbsp;&lt;SourceFilename relativeToVRT="1"&gt;./barrett_canyon/o39117a4.tif&lt;/SourceFilename&gt;</div><div>&nbsp;&nbsp; &nbsp; &nbsp;&lt;SourceBand&gt;1&lt;/SourceBand&gt;</div><div>&nbsp;&nbsp; &nbsp; &nbsp;&lt;SourceProperties RasterXSize="4463" RasterYSize="5710" DataType="Byte" BlockXSize="4463" BlockYSize="1"/&gt;</div>
<div>&nbsp;&nbsp; &nbsp; &nbsp;&lt;SrcRect xOff="0" yOff="0" xSize="4463" ySize="5710"/&gt;</div><div>&nbsp;&nbsp; &nbsp; &nbsp;&lt;DstRect xOff="92733" yOff="134498" xSize="4473" ySize="5723"/&gt;</div>
<div>&nbsp;&nbsp; &nbsp;&lt;/SimpleSource&gt;</div><div><br></div><div>So, presumably, gdalbuildvrt generates this for you. Is there something missing here to achieve what you are talking about, Matt?</div><br></div></div></blockquote><div>
<br>That looks very similar to what I have with only one exception.&nbsp; I'm using an absolute path.&nbsp; Could it be the case that you created this VRT and have since moved it?&nbsp; Or the data that it's referring to?&nbsp; If so, the VRT file may not be able to find the TIFF files that it's pointing to.&nbsp; <br>
<br>I'd suggest testing this by using gdal_translate to extract a piece of the VRT where you expect there to exist data.&nbsp; Run gdal_translate with  CPL_DEBUG=ON in your environment so that you can see debug info to understand what files it's trying to open.&nbsp; You should be able to see it opening one of your TIFF files.....and verbose info if it's failing to.&nbsp; <br>
<br></div></div></blockquote></div><br><div>It's been a little while since I've revisited this issue. Returning to it, things appear to be working with gdal-1.7.1 for me. The only issue appears to be qgis not rendering it when the view is at a really large scale. This is ok for me because I really only want to see the data at fairly low scales anyway, say 50k and lower.</div><div><br></div><div>Thanks for the tips, though, Matt. Relative or full paths both work for me, for the record.</div><div><br></div><div>Cheers,</div><div>John</div></body></html>