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

2019-10-04 Thread mhw-at-yg
> You could also potentially use a raster attribute table. See > GDALRasterAttributeTable in https://gdal.org/drivers/raster/vrt.html Yeah, loose is right. ;-) This is what I think I've puzzled out:

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

2019-10-04 Thread Even Rouault
On vendredi 4 octobre 2019 12:44:18 CEST mhw-at-yg wrote: > > 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 and > > in all > > Ok. Thanks for confirming my understanding. > > Next question:

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

2019-10-04 Thread mhw-at-yg
> 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 and > in all Ok. Thanks for confirming my understanding. Next question: It appears that are order-of-index based. Meaning that: if "Evergreen" is

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

2019-10-04 Thread Even Rouault
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

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

2019-10-04 Thread mhw-at-yg
> 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

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

2019-10-03 Thread Stephen Woodbridge
Matt, 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. I think this should work nicely. -Steve W On 10/3/2019 7:01 PM, matt.wil...@gov.yk.ca wrote:

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

2019-10-03 Thread Matt.Wilkie
> It was quite a bit of work to get this far and I'm not looking forward to > doing this 30 more times. On this point, discovery of the day is Easy XML Editor which allows editing some attributes as if in a spreadsheet. It's alleviated much difficulty, but

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

2019-10-03 Thread Matt.Wilkie
Hello gdal-dev, it's been a long time! I'm happy to be digging into raster data building again for a change, but could use some nudges in the right direction(s). A few weeks ago Nasa released Landsat-derived Annual Dominant Land Cover Across ABoVE Core Domain,