WCS Downsampling via scalefactor

If a scalefactor is used in a WCS getCoverage request, how are the new pixels interpolated? Prior to resampling, is any antialiasing applied?

Hi,
if memory serves me well (haven’t touched the code in a while):

  • Internal overviews of the dataset are used if present (don’t remember if it’s the closest overview or the one with a higher resolution than then one requested)
  • The WCS specification allows the client to choose the interpolation desired, if none is specified, Nearest Neighbor is used (the alternatives being bilinear and bicubic)

No antialiasing is applied, WCS is a data download service, not a visual representation one. That said, mind the overviews, those have been generated by some other tool (commonly GDAL but it could be something else) with whatever interpolation/aliasing configured during its execution.

Hope this helps
Andrea