[MapProxy] Blurry text layer

Milo van der Linden milo at dogodigi.net
Tue Nov 20 12:33:30 PST 2012


I have something similar.

See this request:
http://www.mapcache.org/mapproxy/service?LAYERS=nederland&FORMAT=image%2Fpng&SRS=EPSG%3A28992&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&BBOX=96105.92,475897.03433595,128361.92,497401.03433595&WIDTH=600&HEIGHT=400

The text "Haarlem" is rendered in black.

Now I zoom in one level:

http://www.mapcache.org/mapproxy/service?LAYERS=nederland&FORMAT=image%2Fpng&SRS=EPSG%3A28992&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&BBOX=98941.76,484762.05841798,115069.76,495514.05841798&WIDTH=600&HEIGHT=400

The text "Haarlem" becomes a shade of orange. The original geoserver image
is (patience required) as it is supposed to be:

www.mapcache.org/geoserver/wms?LAYERS=nederland&FORMAT=image%2Fpng&SRS=EPSG%3A28992&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&BBOX=98941.76,484762.05841798,115069.76,495514.05841798&WIDTH=600&HEIGHT=400


2012/11/20 Georg Aigner <aigner.georg.79 at gmail.com>

> I use it with
>
> openlayers
>
>
> service?LAYERS=<layername>&FORMAT=image%2Fpng&TRANSPARENT=true&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&SRS=EPSG%3A900913&BBOX=-9251118.3270743,3508167.3641408,-9247556.657256,3511729.0339592&WIDTH=768&HEIGHT=768
>
> and luciad
>
>
> service?BGCOLOR=0xaaaaaa&TRANSPARENT=TRUE&BBOX=-9251750.306743331,3500409.881396277,-9241737.954661945,3504778.272356742&CRS=EPSG%3A900913&VERSION=1.3.0&FORMAT=image%2Fpng&SERVICE=WMS&HEIGHT=750&REQUEST=GetMap&LAYERS=<layername>&STYLES=&WIDTH=1719
>
> in each case mapproxy will resample the image.
>
> how can i configure mapproxy to NOT resample the image but still use the
> cache?
>
> thx
> georg
>
>
>
>
> 2012/11/20 Oliver Tonnhofer <olt at omniscale.de>
>
>>
>> On 20.11.2012, at 16:08, Georg Aigner wrote:
>> > just set
>> > paletted : false
>> > resampling_method: bicubic  # before there was nearest
>> >
>> > so this change work fine for me.
>>
>> I think you did not solve this issue, but just made it less worse :)
>> MapProxy should not scale or reproject any images when you configure it
>> for use in OpenLayers.
>>
>>
>> Regards,
>> Oliver
>>
>> --
>> Oliver Tonnhofer    | Omniscale GmbH & Co KG    | http://omniscale.de
>> http://mapproxy.org | https://github.com/olt    | @oltonn
>>
>>
>>
>>
>>
>>
>>
>
> _______________________________________________
> MapProxy mailing list
> MapProxy at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapproxy
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20121120/0c017dd5/attachment.html>


More information about the MapProxy mailing list