<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Le 03/01/2014 15:41, aperi2007 a
écrit :<br>
</div>
<blockquote cite="mid:52C6CC15.2060203@gmail.com" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<div class="moz-cite-prefix">The RULE ?<br>
<br>
It need to know exactly the class name,<br>
but AFAIK the rule name is not available from the
GetCapabilities<br>
<br>
don't ?<br>
</div>
</blockquote>
<br>
Yes, but you can query the style in SLD and have the CLASS name.<br>
<br>
Others clients like mapfish use it<br>
<br>
Regards,<br>
René-Luc D'Hont<br>
3Liz<br>
<br>
<blockquote cite="mid:52C6CC15.2060203@gmail.com" type="cite">
<div class="moz-cite-prefix"> <br>
A.<br>
<br>
On 03/01/2014 15:27, Alessandro Pasotti wrote:<br>
</div>
<blockquote
cite="mid:CAL5Q6710cM2rEHY59z6J_gPvdAqB19GkZoWy0bNw2cxD+buR-g@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">2014/1/3 Yves Jacolin <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:yjacolin@free.fr" target="_blank">yjacolin@free.fr</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
<br>
Le vendredi 3 janvier 2014 13:14:57 aperi2007 a écrit :<br>
<div class="im">> On 03/01/2014 13:06, Alessandro
Pasotti wrote:<br>
> > I also think it's not possible at the
moment.<br>
> > But I like the way it was implemented in
other frameworks, all I need<br>
> > is a way to get the style image for a single
"class". I guess we need<br>
> > to add a custom WMS method to the QGIS
Server.<br>
><br>
> This is possible using the optional parameter
"scale" from wms specs.<br>
> Using it and the layers param.<br>
> You could identify a single layer and get the
legend at a specific scale.<br>
><br>
> Apy attention:<br>
> if you do not specify the scale parameter the wms
server will return the<br>
> render to ALL the scale.<br>
> This mean tahat the renddering is<br>
> a point a little scale and a polygon at large
scale,<br>
> it will return an mage with a point and a
polygon.<br>
<br>
</div>
Maybe I did not understand what alessandro said, but it
seems to me that it is<br>
rather the RULE parameter for the GetLegendGraphic that
allow you to get the<br>
legend for one class.<br>
<br>
See <a moz-do-not-send="true"
href="https://github.com/qgis/QGIS/pull/901"
target="_blank">https://github.com/qgis/QGIS/pull/901</a><br>
<div class="im HOEnZb"><br>
Y.<br>
</div>
</blockquote>
<div><br>
</div>
<div>Thanks Yves, this is exactly what I need.</div>
<div><br>
</div>
<div>This is only available in master but not in 2.0.1,
correct?</div>
<div><br>
</div>
</div>
<div><br>
</div>
-- <br>
Alessandro Pasotti<br>
w3: <a moz-do-not-send="true" href="http://www.itopen.it">www.itopen.it</a>
</div>
</div>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Qgis-developer mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a></pre>
</blockquote>
<br>
</body>
</html>