[Qgis-user] Variable map_scale in qgis server

Thibault COUPIN thibault.coupin at ird.fr
Fri Jun 22 00:30:50 PDT 2018


I use 3.0.3 on desktop and on server.
@map_scale works on dekstop, not on server

Le 22/06/2018 à 00:19, Nyall Dawson a écrit :
> On Thu, 21 Jun 2018 at 05:25, Thibault COUPIN <thibault.coupin at ird.fr> wrote:
>> Hey everybody
>>
>> I use @map_scale in my style to select features depending on the map scale. It work like a charm on desktop but not on server.
>> Do you know how to get the WMS request scale ?
> This is on QGIS 2.18 right? Server on 2.x doesn't have support for
> variables (you need 3.0). For 2.18 try using "$scale" instead of
> "@map_scale" - that should work in both desktop and server.
>
> Nyall
>
>
>> Thanks for your answers
>>
>> Have a nice day/night!
>>
>> Thibault
>>
>> Twitter: @thibbojunior
>> Github: tcoupin
>> _______________________________________________
>> Qgis-user mailing list
>> Qgis-user at lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20180622/d6378025/attachment.html>


More information about the Qgis-user mailing list