<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body><div><div style="font-family: Calibri,sans-serif; font-size: 11pt;">Hi, i will try to prepare requested test case. </div></div><div dir="ltr"><hr><span style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;">Od:</span><span style="font-family: Calibri,sans-serif; font-size: 11pt;"><a href="mailto:olt@omniscale.de">Oliver Tonnhofer</a></span><br><span style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;">Odesláno:</span><span style="font-family: Calibri,sans-serif; font-size: 11pt;">‎8. ‎4. ‎2015 16:00</span><br><span style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;">Komu:</span><span style="font-family: Calibri,sans-serif; font-size: 11pt;"><a href="mailto:pavlicek.david@gmail.com">David Pavlíček</a></span><br><span style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;">Kopie:</span><span style="font-family: Calibri,sans-serif; font-size: 11pt;"><a href="mailto:mapproxy@lists.osgeo.org">mapproxy</a></span><br><span style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;">Předmět:</span><span style="font-family: Calibri,sans-serif; font-size: 11pt;">Re: [MapProxy] Tile masking interpolation</span><br><br></div>Hi David,<br><br>Can you prepare a minimal test case? With a minimal config, your auth middleware, a cache with a single tile and a request URL for the tile?<br><br><br>Regards,<br>Oliver<br><br>-- <br>Oliver Tonnhofer  | Omniscale GmbH & Co KG  | http://omniscale.com<br>OpenStreetMap WMS and tile services         | http://maps.omniscale.com<br><br><br><br><br>> On 08.04.2015, at 15:15, David Pavlíček <pavlicek.david@gmail.com> wrote:<br>> <br>> Hello, We have disabled this option by default (paletted: false), because we are using anti-aliased transparent PNGs in cache. Also we don't use custom image formats. All image settings are in default state except previously mentioned palleted option.<br>> <br>> Best regards, David<br>> <br>> 2015-04-08 9:05 GMT+02:00 Oliver Tonnhofer <olt@omniscale.de>:<br>> Hi,<br>> <br>> can you try it again by disabling paletted images?<br>> <br>>   globals:<br>>     image:<br>>       paletted: false<br>> <br>> <br>> Regards,<br>> Oliver<br>> <br>> --<br>> Oliver Tonnhofer  | Omniscale GmbH & Co KG  | http://omniscale.com<br>> OpenStreetMap WMS and tile services         | http://maps.omniscale.com<br>> <br>> <br>> <br>> <br>> > On 06.04.2015, at 14:12, David Pavlíček <pavlicek.david@gmail.com> wrote:<br>> ><br>> > Sorry for bad attachments. They wont work without login token. There are permanent links to corresponding images:<br>> ><br>> > img1:<br>> > https://dl.dropboxusercontent.com/u/4713154/masked_tile.png<br>> > img2:<br>> > https://dl.dropboxusercontent.com/u/4713154/original_tile.png<br>> ><br>> ><br>> > 2015-04-06 14:01 GMT+02:00 David Pavlíček <pavlicek.david@gmail.com>:<br>> > Hello, we have recently implemented MapProxy authorization with restrictions to polygon. Everything works fine, except that tiles which are intersected by polygon boundary looks different than rest of tiles (see example below). I thing that it is due to image interpolation. My question is: Is there any way how I can change (or disable) interpolation during tile masking?<br>> ><br>> > Example:<br>> > First image is masked with polygon (tile intersects polygon boundary). Second image is the same tile, but without polygon mask applied on it.<br>> ><br>> ><br>> ><br>> > _______________________________________________<br>> > MapProxy mailing list<br>> > MapProxy@lists.osgeo.org<br>> > http://lists.osgeo.org/mailman/listinfo/mapproxy<br>> <br>> <br><br></body></html>