[Qgis-developer] QGIS Web Client improvements

rldhont rldhont at gmail.com
Fri Jan 3 06:47:18 PST 2014


Le 03/01/2014 15:41, aperi2007 a écrit :
> The RULE ?
>
> It need to know exactly the class name,
> but AFAIK the rule name is not available from the GetCapabilities
>
> don't ?

Yes, but you can query the style in SLD and have the CLASS name.

Others clients like mapfish use it

Regards,
René-Luc D'Hont
3Liz

>
> A.
>
> On 03/01/2014 15:27, Alessandro Pasotti wrote:
>> 2014/1/3 Yves Jacolin <yjacolin at free.fr <mailto:yjacolin at free.fr>>
>>
>>     Hello,
>>
>>     Le vendredi 3 janvier 2014 13:14:57 aperi2007 a écrit :
>>     > On 03/01/2014 13:06, Alessandro Pasotti wrote:
>>     > > I also think it's not possible at the moment.
>>     > > But I like the way it was implemented in other frameworks,
>>     all I need
>>     > > is a way to get the style image for a single "class". I guess
>>     we need
>>     > > to add a custom WMS method to the QGIS Server.
>>     >
>>     > This is possible using the optional parameter "scale" from wms
>>     specs.
>>     > Using it and the layers param.
>>     > You could identify a single layer and get the legend at a
>>     specific scale.
>>     >
>>     > Apy attention:
>>     > if you do not specify the scale parameter the wms server will
>>     return the
>>     > render to ALL the scale.
>>     > This mean tahat the renddering is
>>     > a point a little scale and a polygon at large scale,
>>     > it will return an mage with a point and a polygon.
>>
>>     Maybe I did not understand what alessandro said, but it seems to
>>     me that it is
>>     rather the RULE parameter for the GetLegendGraphic that allow you
>>     to get the
>>     legend for one class.
>>
>>     See https://github.com/qgis/QGIS/pull/901
>>
>>     Y.
>>
>>
>> Thanks Yves, this is exactly what I need.
>>
>> This is only available in master but not in 2.0.1, correct?
>>
>>
>> -- 
>> Alessandro Pasotti
>> w3: www.itopen.it <http://www.itopen.it>
>
>
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20140103/b67b8396/attachment.html>


More information about the Qgis-developer mailing list