[QGIS-Developer] Issue with $scale in QGIS 3

Neumann, Andreas a.neumann at carto.net
Fri Aug 11 05:13:18 PDT 2017


Hi, 

I use the function $scale in a data-defined label property (letter
spacing property). The expression worked fine in QGIS 2.18 but fails in
QGIS 3. 

Did something change in the expression context in QGIS master, so that
$scale can't be used in label settings context anymore - or is this a
bug? 

The reason I still use $scale and not @map_scale is that we still have
QGIS servers on 2.18 around, and QGIS server in the 2.x branch can't use
the @map_scale variable. 

Thanks if you know about this issue, 

Andreas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20170811/7651a00b/attachment.html>


More information about the QGIS-Developer mailing list