[Gdal-dev] VRT File Format

Matt Hanson mhanson at photon.com
Tue Sep 12 15:21:56 EDT 2006


Encountered another problem with the VRT files, but different then my other post - to work around that issue for now I am using absolute pathnames.   But when I try to read in the VRT file below I get
ERROR 1: Corrupt of empty VRT source XML document.
 
Here's my VRT file:
 
*********************************************************************************************
<VRTDataset rasterXSize="400" rasterYSize="400">

<VRTRasterBand dataType="Int16" band="1">

<SimpleSource>

<SourceFilename>C:\Documents and Settings\mhanson\Flux\testimages\MISI_28jun02</SourceFilename>

<SourceBand>1</SourceBand>

<SrcRect xOff="0" yOff="0" xSize="400" ySize="400"/>

<DstRect xOff="0" yOff="0" xSize="400" ySize="400"/>

</SimpleSource>

</VRTRasterBand>

</VRTDataset>

********************************************************************





More information about the Gdal-dev mailing list