On 24 May 2018 at 00:16, Otto Dassau <das...@gbd-consult.de> wrote:
> Dear developers,
>
> I use expression variables within the rule based renderer. For example:
>
> CASE WHEN @project_title LIKE '%adult' THEN "fclass" = 'school' ELSE
> "fclass" = 'kindergarten' END
>
> This works in QGIS desktop but not with QGIS Server Version 2 and 3. Does
> QGIS server not support this feature at all? Or do I miss something?

QGIS server in 2.x used an older, deprecated rendering facility, which
had no knowledge of variables and how to set them. Changing this was a
substantial body of work which was completed for 3.0.

(There's basically no fix possible for this in 2.x - the solution is
to use 3.0 here.)

Nyall
_______________________________________________
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to