[MapProxy] Mapnik WMS transparency problem

Andreas Trawoeger atrawog at datenscheibe.org
Sun Nov 14 12:02:59 EST 2010


I'm currently trying to hunt down a somewhat strange transparency
problem in combination with Mapnik's OGC Server and MapProxy.

Defining a Mapnik WMS Source does work as usual:

sources:
  mapnik_bmng09_wms:
    type: wms
    concurrent_requests: 1
    supported_srs: ['EPSG:4326']
    supported_formats: ['image/jpeg']
    req:
      url: http://localhost:8000/?
      layers: bmng200409
      format: image/jpeg

But what seems to happen is that MapProxy interprets every black pixel
as a transparency layer and replaces every black pixel with a white
one (see attached picture).

That should be fixed by setting transparent=false in the WMS source
configuration. But Mapnik expects values in uppercase only
(transparent=FALSE) and responds to a transparent=False MapProxy
request with an OGCException: Parameter "transparent" has an illegal
value error [0].

Leaving me somewhat puzzled how to get rid of the white pixels that
show up in my maps :-((


cu andreas


[0] http://www.mail-archive.com/mapnik-users@lists.berlios.de/msg01874.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mapnik_transparency.jpg
Type: image/jpeg
Size: 89782 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/mapproxy/attachments/20101114/171abb7e/mapnik_transparency-0001.jpg


More information about the MapProxy mailing list