[gdal-dev] vrt guidance: 31 band classified raster

Even Rouault even.rouault at spatialys.com
Fri Oct 4 08:30:58 PDT 2019


On vendredi 4 octobre 2019 08:25:49 CEST mhw-at-yg wrote:
> > Have you tried create a cascading VRT, where the first VRT composites
> > all the GTiff files into a single virtual raster and then reference the
> > composite in another VRT that assigns colortable.
> 
> Hmm, I hadn't thought about cascading; didn't know that was possible. I'd
> still need 31 vrt's though right? 1 for each band.

I don't see VRT cascading of any help here, from what I've understood of your 
use case. I think you have no other choice than replicating <Category> and 
<ColorTable> in all <VRTRasterBand>

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the gdal-dev mailing list