[OpenLayers-Users] WFS - legend

bartvde at osgis.nl bartvde at osgis.nl
Tue Apr 7 02:51:26 EDT 2009


Hi,

check out the following thread:

http://www.geoext.org/pipermail/dev/2009-April/000073.html

Best regards,
Bart

> htks for reply
>
> GetLegendGraphic gives the legend of a WMS, the one specified in the SLD
> of
> the WMS layer, or the one in the SLD given in the url paremeter...
> I would like a legend for WFS, which have no SLD, but only style and
> styleMap definition
>
> ----- Original Message -----
> From: "Alexander Petkov" <greenkov at gmail.com>
> To: "floflo" <florent.gravin at bluecham.net>
> Cc: <users at openlayers.org>
> Sent: Tuesday, April 07, 2009 12:12 PM
> Subject: Re: [OpenLayers-Users] WFS - legend
>
>
>> On 4/6/09, floflo <florent.gravin at bluecham.net> wrote:
>>>
>>>  Hi,
>>>
>>>  can we get a legend from the symbol we use for our features ?
>>>  for exemple, proportionnal symbol, StyleMap(defaut, select) with a
>>> varying radius ..
>>>  can we get the image of the symbol in itself (triangle or circle with
>>> the right color and size).. for exemple ?
>>>
>>>  thks
>>
>> Assuming that you are using any WMS-compliant backend (for example,
>> mapserver or geoserver), then yes.
>>
>> More specifically, "SERVICE=WMS&REQUEST=GetLegendGraphic" with the
>> rest of the required parameters is what you are looking for.
>>
>> Alex
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>





More information about the Users mailing list