[gdal-dev] access multiple files with VRT

Matin80 martin at bier-mail.de
Sat Sep 18 10:53:06 EDT 2010


Dear all,

I have plenty of binary files which I access through a VRT file. This works
fine with the following lines:

<VRTDataset rasterXSize="1440" rasterYSize="400"> 
  <Geotransform>0,0.25,0,50, 0,-0.25</Geotransform> 
  <SRS>WGS84</SRS> 
  <VRTRasterBand dataType="Float32" band="1" subClass="VRTRawRasterBand"> 
    <SourceFilename
relativeToVRT="1">3B42_daily.2009.01.01.6.bin</SourceFilename> 
    <ByteOrder>MSB</ByteOrder> 
    <ImageOffset>0</ImageOffset> 
    <PixelOffset>4</PixelOffset> 
    <LineOffset>5760</LineOffset> 
  </VRTRasterBand>
</VRTDataset>  

now my question: is it possible to access all ".bin" files in the same
directory with a single VRT without having to use the same block again and
again for every single file?

greetings,
Martin


-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/access-multiple-files-with-VRT-tp5545929p5545929.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.


More information about the gdal-dev mailing list