<div dir="ltr">This is a larger error than simple map distortion. See screen shot below. The orange dashed lines are a grid of 1 mile x 1 mile (5280 feet). The upper scale bar that says "5000 ft" is <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">generated by OpenLayers<span> and is</span></span> pretty good. The lower scale bar is generated by MapServer is off by 25% to 30%.<div><br></div><div><img src="cid:ii_jczdhert0_1613ef17ed4b3d22" width="206" height="173"><br>​<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jan 28, 2018 at 1:37 PM,  <span dir="ltr"><<a href="mailto:b.j.kobben@utwente.nl" target="_blank">b.j.kobben@utwente.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">No scalebar is ever correct on any map if the map is not having an 'equal area' (sometimes called 'equivalent') projection -- meaning the areas are comparable/not distorted over the map. The 3857, being a Mercator projection is not, and indeed here the distortions reach from none at the equator to huge at the poles (officially endless - theoretically the poles are points, but depicted as lines...)<br>
<br>
The software you use makes no difference, although some specialised ones let you show distortions using indicators called Tissot-indicatrices)<br>
<br>
<a href="http://kartoweb.itc.nl/geometrics/" rel="noreferrer" target="_blank">http://kartoweb.itc.nl/<wbr>geometrics/</a><br>
<a href="https://en.wikipedia.org/wiki/Tissot%27s_indicatrix" rel="noreferrer" target="_blank">https://en.wikipedia.org/wiki/<wbr>Tissot%27s_indicatrix</a><br>
<br>
<br>
--<br>
Barend Köbben<br>
<div><div class="h5"><br>
<br>
On 28/01/2018, 20:36, "mapserver-users on behalf of Richard Greenwood" <<a href="mailto:mapserver-users-bounces@lists.osgeo.org">mapserver-users-bounces@<wbr>lists.osgeo.org</a> on behalf of <a href="mailto:richard.greenwood@gmail.com">richard.greenwood@gmail.com</a>> wrote:<br>
<br>
The scalebar created by MapServer 4.6 is too short when I'm using epsg:3857. I'm guessing that it's correct at the equator and gets worse as you get further north or south? Has anyone else experienced this and possibly have a solution?<br>
<br>
<br>
Thanks,<br>
Rich<br>
<br>
<br>
--<br>
Richard W. Greenwood, PLS<br>
</div></div><a href="http://www.greenwoodmap.com" rel="noreferrer" target="_blank">www.greenwoodmap.com</a> <<a href="http://www.greenwoodmap.com" rel="noreferrer" target="_blank">http://www.greenwoodmap.com</a>><br>
<br>
<br>
<br>
<br>
<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Richard W. Greenwood, PLS<br><a href="http://www.greenwoodmap.com" target="_blank">www.greenwoodmap.com</a></div></div>
</div>