[gdal-dev] VRT, how should I create overviews on the mask
Guy Doulberg
guyd at satellogic.com
Thu Nov 29 03:34:50 PST 2018
Hi guys
I am using a VRT in front of many geotif rasters, the size of the vrt could
be in thousands
I am using gdaladdo on that vrt to per-calculate overviews, and I get an
ovr file.
In the orginal vrt file I have also definition of a mask, basically each of
the origin files has mask, so I am using the mask from the original geotiff
files
gdalinfo on the vrt:
Band 1 Block=128x128 Type=UInt16, ColorInterp=Gray
Overviews: 4096x6144, 2048x3072, 1024x1536, 512x768, 256x384, 128x192
Mask Flags: PER_DATASET
gdalinfo of the ovr file:
Band 1 Block=128x128 Type=UInt16, ColorInterp=Gray
Overviews: 2048x3072, 1024x1536, 512x768, 256x384, 128x192
So it seems like there are no overviews on top of the mask, and when trying
to fetch the mask I can see that each of the original tifs is being
accessed,
this is not the case if I don't read the mask
So my question is, is there a way to create overviews with mask and when
accessing a vrt that has overviews on mask to use the overviews on mask?
Thanks, Guy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20181129/f385188a/attachment.html>
More information about the gdal-dev
mailing list