[MapProxy] Tile masking interpolation

Oliver Tonnhofer olt at omniscale.de
Wed Apr 8 07:00:00 PDT 2015


Hi David,

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?


Regards,
Oliver

-- 
Oliver Tonnhofer  | Omniscale GmbH & Co KG  | http://omniscale.com
OpenStreetMap WMS and tile services         | http://maps.omniscale.com




> On 08.04.2015, at 15:15, David Pavlíček <pavlicek.david at gmail.com> wrote:
> 
> 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.
> 
> Best regards, David
> 
> 2015-04-08 9:05 GMT+02:00 Oliver Tonnhofer <olt at omniscale.de>:
> Hi,
> 
> can you try it again by disabling paletted images?
> 
>   globals:
>     image:
>       paletted: false
> 
> 
> Regards,
> Oliver
> 
> --
> Oliver Tonnhofer  | Omniscale GmbH & Co KG  | http://omniscale.com
> OpenStreetMap WMS and tile services         | http://maps.omniscale.com
> 
> 
> 
> 
> > On 06.04.2015, at 14:12, David Pavlíček <pavlicek.david at gmail.com> wrote:
> >
> > Sorry for bad attachments. They wont work without login token. There are permanent links to corresponding images:
> >
> > img1:
> > https://dl.dropboxusercontent.com/u/4713154/masked_tile.png
> > img2:
> > https://dl.dropboxusercontent.com/u/4713154/original_tile.png
> >
> >
> > 2015-04-06 14:01 GMT+02:00 David Pavlíček <pavlicek.david at gmail.com>:
> > 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?
> >
> > Example:
> > First image is masked with polygon (tile intersects polygon boundary). Second image is the same tile, but without polygon mask applied on it.
> >
> >
> >
> > _______________________________________________
> > MapProxy mailing list
> > MapProxy at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/mapproxy
> 
> 



More information about the MapProxy mailing list