[Mapbender-users] Antw: Re: Legend
andreas.schmitz at wheregroup.com
Tue Dec 22 05:12:05 PST 2015
Gerhard Mocza wrote:
> Thank you for your config-help.
> This made it quite clear, proxy-config is not the reasson for my
> Must be encoding of LegendGraphics ! Maybe in 220.127.116.11 is a checkbox
> anywhere or a switch in a config-file, where encoding could be turned
> off ?
you can also try to fix your server config instead. Percent-encoding
the & makes those requests actually invalid. Although Mapbender 3
tries to make sense of the request anyway, a proper solution would be
to fix the server. A proper GetCapabilities snippet looks like this:
<LegendURL width="154" height="81">
<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://deegree3-demo.deegree.org/utah-workspace/services?request=GetLegendGraphic&version=1.1.1&service=WMS&layer=cities&style=Cities&format=image/png"/>
Take note how the & are SGML/XML quoted as & and not percent
Best regards, Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 181 bytes
Desc: Digital signature
More information about the Mapbender_users