<div dir="ltr"><div><div><div>Hi Andrea,<br></div>the inaccuracy may rest upon the resolution defined in your mapfile. By default, MapServer uses RESOLUTION 72, I think. This is not quite correct for OGC WMS, because this standard assumes a pixelsize of 0.28 x 0.28 mm² which is ~90.7 dpi. Not sure if you can set floating point resolutions in MapServer. Try setting RESOLUTION 90.7 or 91 in your mapfile.<br>
<br></div>Best regards,<br></div>Martin<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/2/11 Andrea Peri <span dir="ltr"><<a href="mailto:aperi2007@gmail.com" target="_blank">aperi2007@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I set a class rule to show the label in this interval scale:<br>
<br>
      LABEL<br>
        COLOR 175 109 134<br>
        OUTLINECOLOR 255 255 255<br>
        OUTLINEWIDTH 1<br>
        MAXSCALEDENOM 300100<br>
        MINSCALEDENOM 1<br>
        ....<br>
<br>
After I try to test it with QGIS, but I see calling it with qgis the<br>
show of labels in the scale are not so linear as I could guess.<br>
<br>
infact<br>
<br>
the label ARE NOT SHOWED at 1:299.990<br>
the label ARE NOT SHOWED at 1:300.000<br>
the label are showed at 1:300.001<br>
the label are showed at 1:300.010<br>
the label ARE NOT SHOWED at 1:300.050<br>
the label are showed at 1:300.090<br>
the label ARE NOT SHOWED at 1:300.100<br>
the label ARE NOT SHOWED at 1:300.110<br>
the label ARE NOT SHOWED at 1:300.150<br>
<br>
So seem the limit of<br>
1:300.100 I set in the mapfile is not so exactly used.<br>
<br>
But I'm not able to understand if is a wrong QGIS calculation of scale<br>
value or is a MapServer trouble.<br>
<br>
Any hint is welcome<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
-----------------<br>
Andrea Peri<br>
. . . . . . . . .<br>
qwerty àèìòù<br>
-----------------<br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</font></span></blockquote></div><br></div>