[Qgis-developer] Expression variables in QGIS server

Neumann, Andreas a.neumann at carto.net
Fri Feb 26 08:48:21 PST 2016


Hi Tom, 

The project variables should work fine in server context. 

Are you sure that the QGIS server you use is really up-to-date? 

The variable support in QGIS is relatively recent and if your server is
an older version it probably doesn't support them. 

Andreas 

On 2016-02-26 17:34, Tom Palan wrote:

> hi,
> 
> I was trying to implement dynamic setting of Expression Variables when handling server requests (Example use case: I want to render another logo in a composition map depending on a project-variable), as I got stuck testing the behaviour of expression variables in server-requests.
> I have a print composition map, where a label text is set to a project scope expression variable. When I execute the server request the label is not printed (or printed empty).
> 
> Does QGIS server not use expression variables defined at project level?
> 
> thanks,

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


More information about the Qgis-developer mailing list