<div dir="ltr">As a quick follow up, a hack that worked to get around this was to make a VRT of the low resolution dataset wherein I set the resampling to bilinear in the VRT and set the resolution to much much higher, and that has the desired effect.  So the question is, is there a better way to achieve the same thing in mapserver.<div><br></div><div>Thanks!</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Sep 10, 2021 at 10:17 AM Patrick Young <<a href="mailto:patrick.mckendree.young@gmail.com">patrick.mckendree.young@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hello!<div><br></div><div>I was curious if it is possible to have mapserver bilinearly upsample a low resolution raster to a higher resolution when there is no reprojection required.</div><div><br></div><div>My setup is that I have a very low resolution image (a bathymetric layer) and a much higher resolution image (aerial), both in web mercator.  When I request a high resolution XYZ tile, the low resolution image remains pixelated (it looks as if its is nearest neighbor upsampled) at the raster's native resolution even though I have set in the PROCESSING directive RESAMPLE=BILINEAR.</div><div><br></div><div>I suspect from the docs that RESAMPLE only comes into play when we're doing on-the-fly reprojection, is that correct?  When no reprojection is required, but just simpler upsampling, can one change the kernel used?</div><div><br></div><div>Many thanks!</div><div>Patrick</div></div>
</blockquote></div>