<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<font face="Helvetica, Arial, sans-serif">Fix in 3.2 release.<br>
<br>
A big thanks to devs!<br>
</font><br>
<div class="moz-cite-prefix">Le 22/06/2018 à 13:08, Thibault COUPIN
a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:f2d613ea-dd89-2cce-4c82-0b2434864b65@ird.fr">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<font face="Helvetica, Arial, sans-serif">(The image :
<a class="moz-txt-link-freetext"
href="https://user-images.githubusercontent.com/7457386/41773707-4cc7e754-761d-11e8-8f99-b6845783e286.jpeg"
moz-do-not-send="true">https://user-images.githubusercontent.com/7457386/41773707-4cc7e754-761d-11e8-8f99-b6845783e286.jpeg</a>)</font><br>
<br>
<div class="moz-cite-prefix">Le 22/06/2018 à 13:02, Thibault
COUPIN a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:32893ba2-555d-76e2-f60a-b874af3baccc@ird.fr">
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8">
<font face="Helvetica, Arial, sans-serif">I made a project to
show all variables status : as you can see on the image, most
are null ("A" on map)<br>
</font><br>
<font face="Helvetica, Arial, sans-serif"><img
src="http://127.0.0.1:8080/ows?service=WMS&request=GetMap&version=1.1.1&layers=Departement%2CRegion%2Cmap_variables_test&styles=&format=image%2Fjpeg&transparent=true&tiled=false&info_format=text%2Fhtml&width=1510&height=1348&srs=EPSG%3A3857&bbox=-722788.5394646267%2C5048512.844179321%2C1123930.063905232%2C6697106.670234004"
alt="http://127.0.0.1:8080/ows?service=WMS&request=GetMap&version=1.1.1&layers=Departement%2CRegion%2Cmap_variables_test&styles=&format=image%2Fjpeg&transparent=true&tiled=false&info_format=text%2Fhtml&width=1510&height=1348&srs=EPSG%3A3857&bbox=-722788.5394646267%2C5048512.844179321%2C1123930.063905232%2C6697106.670234004"
moz-do-not-send="true"></font>
<div class="moz-cite-prefix">Le 22/06/2018 à 09:30, Thibault
COUPIN a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:7f87119b-5a72-e46a-be77-cb5c9024ed42@ird.fr">
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8">
<font face="Helvetica, Arial, sans-serif">I use 3.0.3 on
desktop and on server.<br>
@map_scale works on dekstop, not on server<br>
</font><br>
<div class="moz-cite-prefix">Le 22/06/2018 à 00:19, Nyall
Dawson a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:CAB28AsiiuCA3twQzq6tXjEynXZ07zoe_YY9=vLCXfHTDf9m+DA@mail.gmail.com">
<pre wrap="">On Thu, 21 Jun 2018 at 05:25, Thibault COUPIN <a class="moz-txt-link-rfc2396E" href="mailto:thibault.coupin@ird.fr" moz-do-not-send="true"><thibault.coupin@ird.fr></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">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 ?
</pre>
</blockquote>
<pre wrap="">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
</pre>
<blockquote type="cite">
<pre wrap="">Thanks for your answers
Have a nice day/night!
Thibault
Twitter: @thibbojunior
Github: tcoupin
_______________________________________________
Qgis-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org" moz-do-not-send="true">Qgis-user@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user" moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user" moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
</pre>
</blockquote>
<pre wrap="">
</pre>
</blockquote>
<br>
<br>
<br>
<!--'"--><br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Qgis-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org" moz-do-not-send="true">Qgis-user@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user" moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user" moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></pre>
</blockquote>
<br>
<br>
<br>
<!--'"--><br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Qgis-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org" moz-do-not-send="true">Qgis-user@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user" moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user" moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></pre>
</blockquote>
<br>
<br>
<br>
<!--'"--><br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Qgis-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></pre>
</blockquote>
<br>
</body>
</html>