Good morning everybody.<br>I don&#39;t understand how the msCalculateScale function in mapscale.c is implemented.<br>As far as I know, the scale is calculated from the relation : inches_in_screen / inches_in_reallity.<br>inches_in_screen : depend on the DPI and the width of the map;<br>
inches_in_reality : depend on the map.extent, and the pixel size.<br>So why the &quot;width-1&quot; at the line 96? For me just &quot;width&quot; is more correct. Perhaps I&#39;m wrong.<br>The branches 4.X have just &quot;width&quot; in their implementations (line 125).<br>
So why the center pixel is removed from calculation?<br>