[Qgis-user] QGIS-Server: change font size in legend

Andrea Peri aperi2007 at gmail.com
Wed Feb 26 02:50:06 PST 2014


ok,
thx for hint.




2014-02-26 11:48 GMT+01:00 G. Allegri <giohappy at gmail.com>:

> Well, it depends on how you implement it :)
> The same for rewrite. You could define a rule to match only requests
> contating the GetCapabilities value...
>
> giovanni
>
>
> 2014-02-26 11:47 GMT+01:00 Andrea Peri <aperi2007 at gmail.com>:
>
> The tiny proxy is capable to understand and change the parameters only for
>> getcapabilities request leaving unchanged the
>> getmap or getcapabilites request ?
>>
>>
>>
>> 2014-02-26 9:23 GMT+01:00 G. Allegri <giohappy at gmail.com>:
>>
>>> Or put QGIS-Server behind a tiny proxy which will call it with the
>>> required parameters.
>>>
>>> giovanni
>>>
>>>
>>> 2014-02-26 8:23 GMT+01:00 Andrea Peri <aperi2007 at gmail.com>:
>>>
>>> Hi Marco, thx for this hint.
>>>> It is surely a good solution ,
>>>>
>>>> but unfortunately I cannot set this parameters in the getcapabilities
>>>> response of qgis-server
>>>> So I cannot say to the clients WMS that connect to the wms server to
>>>> add these parameters to them getlegendgraphics request.
>>>>
>>>> So I guess the only option I have to be sure all the clients wms that
>>>> try to use this wms service has the same legend is an hardcoded change in
>>>> the code.
>>>> :(
>>>>
>>>>
>>>>
>>>> 2014-02-26 8:16 GMT+01:00 Marco Hugentobler <
>>>> marco.hugentobler at sourcepole.ch>:
>>>>
>>>>  Hi Andrea
>>>>>
>>>>> There are several parameters which can be used to modify the legend
>>>>> font (all non-standard WMS of course).
>>>>> http://hub.qgis.org/projects/quantum-gis/wiki/QGIS_Server_Tutorial#GetLegendGraphicsprovides a list of these additional parameters.
>>>>>
>>>>> Regards,
>>>>> Marco
>>>>>
>>>>>
>>>>> On 26.02.2014 08:12, Andrea Peri wrote:
>>>>>
>>>>>  Hi,
>>>>>
>>>>> I like to change the font size in the legend image as generate from a
>>>>> GetLegendGraphics request.
>>>>>  I know it is unavailable from the project.
>>>>>  I could also to recompile the code C to have a better font size but
>>>>> I don't know where is the font size declaration in code for the image
>>>>> legend.
>>>>>
>>>>>  Many thx,
>>>>>
>>>>>  --
>>>>> -----------------
>>>>> Andrea Peri
>>>>> . . . . . . . . .
>>>>> qwerty àèìòù
>>>>> -----------------
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Qgis-user mailing listQgis-user at lists.osgeo.orghttp://lists.osgeo.org/mailman/listinfo/qgis-user
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Dr. Marco Hugentobler
>>>>> Sourcepole -  Linux & Open Source Solutions
>>>>> Weberstrasse 5, CH-8004 Zürich, Switzerlandmarco.hugentobler at sourcepole.ch http://www.sourcepole.ch
>>>>> Technical Advisor QGIS Project Steering Committee
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Qgis-user mailing list
>>>>> Qgis-user at lists.osgeo.org
>>>>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> -----------------
>>>> Andrea Peri
>>>> . . . . . . . . .
>>>> qwerty àèìòù
>>>> -----------------
>>>>
>>>> _______________________________________________
>>>> Qgis-user mailing list
>>>> Qgis-user at lists.osgeo.org
>>>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>>>>
>>>
>>>
>>>
>>> --
>>> Giovanni Allegri
>>> http://about.me/giovanniallegri
>>> Twitter: https://twitter.com/_giohappy_
>>> blog: http://blog.spaziogis.it
>>> GEO+ geomatica in Italia http://bit.ly/GEOplus
>>>
>>
>>
>>
>> --
>> -----------------
>> Andrea Peri
>> . . . . . . . . .
>> qwerty àèìòù
>> -----------------
>>
>
>
>
> --
> Giovanni Allegri
> http://about.me/giovanniallegri
> Twitter: https://twitter.com/_giohappy_
> blog: http://blog.spaziogis.it
> GEO+ geomatica in Italia http://bit.ly/GEOplus
>



-- 
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20140226/cd267a61/attachment.html>


More information about the Qgis-user mailing list