[Qgis-developer] $scale vs. @map_scale variable - Inconsistency between Desktop and Server

Neumann, Andreas a.neumann at carto.net
Tue Oct 11 00:58:50 PDT 2016


Hi, 

I noticed that $scale and @map_scale exist in parallel, but are not
consistently behaving between QGIS Desktop and QGIS server. 

$scale: works fine on both Desktop and Server, but expression preview in
QGIS Desktop fails. 

@map_scale: works fine on QGIS Desktop and also in expression preview,
but fails on QGIS Server. 

Context: expression to calculate letter spacing in a label for different
map scale. Tested on QGIS Master 2.x on Windows 7 64bit. 

Thank you, 

Andreas 

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


More information about the Qgis-developer mailing list