[gdal-dev] Re: Scale dependent VRT for overviews
Even Rouault
even.rouault at mines-paris.org
Tue May 15 16:53:57 EDT 2012
Jukka,
I think you could achieve what you want by adding a <Overview> element (see
http://www.gdal.org/gdal_vrttut.html ) inside the <VRTRasterBand> element. The
dataset pointed by the <SourceFilename> in <Overview> can be a .vrt.
So, schematically, you would have something like 100_percent.vrt :
<VRTDataset>
<VRTRasterBand>
<Overview>
<SourceFilename relativeToVRT="1">50_percent.vrt</SourceFilename>
<SourceBand>1</SourceBand>
</Overview>
</VRTRasterBand>
</VRTDataset>
and in 50_percent.vrt :
<VRTDataset>
<VRTRasterBand>
<Overview>
<SourceFilename relativeToVRT="1">25_percent.vrt</SourceFilename>
<SourceBand>1</SourceBand>
</Overview>
</VRTRasterBand>
</VRTDataset>
and so on
>
> -Jukka Rahkonen-
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
More information about the gdal-dev
mailing list