<p dir="ltr"></p>
<p dir="ltr">On 11 Oct 2016 6:12 PM, "Neumann, Andreas" <<a href="mailto:a.neumann@carto.net">a.neumann@carto.net</a>> wrote:<br>
><br>
> Hi Nyall,<br>
><br>
> Thank you - this explains it. I wasn't aware that QGIS server uses an old map renderer. I did not even know that different map renderers exist. But this has nothing to do with the old vs. the new symbology - right? Because QGIS Server seems to work just fine with the new symbology and labeling.<br>
><br>
> So much work to do around QGIS 3.x / QGIS Server, etc. ... </p>
<p dir="ltr">Yes, it still uses the pre-multithreaded renderer. There's a work in progress PR here fixing it:</p>
<p dir="ltr"><a href="https://github.com/qgis/QGIS/pull/3129">https://github.com/qgis/QGIS/pull/3129</a></p>
<p dir="ltr">Nyall</p>
<p dir="ltr">><br>
> Andreas<br>
><br>
> On 2016-10-11 10:05, Nyall Dawson wrote:<br>
>><br>
>>  <br>
>><br>
>> On 11 Oct 2016 5:59 PM, "Neumann, Andreas" <<a href="mailto:a.neumann@carto.net">a.neumann@carto.net</a>> wrote:<br>
>> ><br>
>> > Hi,<br>
>> ><br>
>> > I noticed that $scale and @map_scale exist in parallel, but are not consistently behaving between QGIS Desktop and QGIS server.<br>
>> ><br>
>> > $scale: works fine on both Desktop and Server, but expression preview in QGIS Desktop fails.<br>
>> ><br>
>> > @map_scale: works fine on QGIS Desktop and also in expression preview, but fails on QGIS Server.<br>
>><br>
>> Hi Andreas,<br>
>><br>
>> Server doesn't have access to any of the map settings related variables, like the scale, rotation, extent, etc. (This is why 25d ordering is messed up in server).<br>
>><br>
>> Server needs to be ported away from the old map renderer before this can be fixed.<br>
>><br>
>> Nyall<br>
>> ><br>
>> > Context: expression to calculate letter spacing in a label for different map scale. Tested on QGIS Master 2.x on Windows 7 64bit.<br>
>> ><br>
>> > Thank you,<br>
>> ><br>
>> > Andreas<br>
>> ><br>
>> >  <br>
>> ><br>
>> >  <br>
>> ><br>
>> >  <br>
>> ><br>
>> > _______________________________________________<br>
>> > Qgis-developer mailing list<br>
>> > <a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
>> > List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
>> > Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
><br>
>  <br>
><br>
>  <br></p>