GetLegendGraphic without label

Bart van den Eijnden (OSGIS) bartvde at XS4ALL.NL
Thu Sep 7 06:08:31 EDT 2006


Hi Norbert,

I have run into this problem as well. I'm afraid there is no solution
currently.

Apparently in WMS 1.3 width and height for LegendURL are now optional. So
that way the server can advertize the image without specifying the width
and the height, simply because it does not know of the size before-hand.
This will instruct the client to inspect the image to determine the size.

Best regards,
Bart

> Hello,
>
> is there a way for WMS server to create a legend graphic without having
> the label included? I saw that the client can define a rule to get only
> the symbol but can't this also be done on server side?
>
> The problem is that the created image is much bigger than the size hints
> in the getCapabilities because of the label. The client who consumes the
> service use the size hint for the legend graphic and label it itself so
> the symbol is not identifiable.
>
> Any ideas?
>
> Thanks in advance
> Norbert
>



More information about the mapserver-users mailing list