<br><br><div class="gmail_quote">On Mon, Apr 5, 2010 at 2:52 PM, John C. Tull <span dir="ltr"><<a href="mailto:jctull@gmail.com">jctull@gmail.com</a>></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> <SimpleSource></div>
<div> <SourceFilename relativeToVRT="1">./barrett_canyon/o39117a4.tif</SourceFilename></div><div> <SourceBand>1</SourceBand></div><div> <SourceProperties RasterXSize="4463" RasterYSize="5710" DataType="Byte" BlockXSize="4463" BlockYSize="1"/></div>
<div> <SrcRect xOff="0" yOff="0" xSize="4463" ySize="5710"/></div><div> <DstRect xOff="92733" yOff="134498" xSize="4473" ySize="5723"/></div>
<div> </SimpleSource></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. I'm using an absolute path. Could it be the case that you created this VRT and have since moved it? Or the data that it's referring to? If so, the VRT file may not be able to find the TIFF files that it's pointing to. <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. 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. You should be able to see it opening one of your TIFF files.....and verbose info if it's failing to. <br>
<br>--Matt<br></div></div>