[MapProxy] white lines in reprojected image

Oliver Tonnhofer olt at omniscale.de
Fri Mar 25 04:24:20 EDT 2011


Hi Csaba,


On 24.03.2011, at 22:00, Sandor Csaba wrote:
> I finally went back to mapserver and enabled reprojection to 900913
> there and set the processing option in the mapfile
> 
> PROCESSING "RESAMPLE=AVERAGE"
> 
> This has solved it.

Good. It was my bet that the problems come from your WMS server, rather than MapProxy. There was a bug in MapProxy were transformed WMS sources with meta_buffer: 0 got a white boundary (fixed <1.0.0), but here you had artifacts not only at the tile boundaries, but in the tiles itself.

In these cases it is best to check the data that the WMS sends to MapProxy. MapProxy logs the WMS URL if you use the develop.ini.


> It has something to do with resampling, but I couldn't play with it
> too much in mapproxy itself. It seemed to me that this config section:
> 
> orto2000_cache:
> ...
>    image:
>      resampling_method: bicubic
>      paletted: false
> 
> Is not really taken into account when rendering. I tried to set for
> example paletted to true and it still produced RGB in mapproxy
> 1.0.0...

image.paletted is only available as a globals option. 



Regards,
Oliver

-- 
Oliver Tonnhofer    | Omniscale GmbH & Co KG    | http://omniscale.de
http://mapproxy.org | https://bitbucket.org/olt





More information about the MapProxy mailing list