<div dir="ltr">Hi All,<div><br></div><div>We've already noticed MapServer use a "center of pixel" representation when doing the extent/scale calculations in the code, which may cause quite some confusion for the users (mostly from the mapscript side) regarding to the behaviour.</div>
<div><br></div><div>The most typical issue I've encountered is the complain about "why mapserver modifies my accurate extent specified in setExtent and why MapServer calculates a different scale I can calculate?"</div>
<div><br></div><div>The reason of why is in fact that we consider the area coverage of the image is larger than the area coverage of the map extent (half of the pixel size in each directions). But the users (and mostly everyone in the world except MapServer) considers that the area coverage of the image is the same as the area coverage of the map extent.</div>
<div><br></div><div>Can someone explain why we do things this way and do we have the chance to get rid of it? </div><div><br></div><div>We could also eliminate the unnecessary transformations done in the WMS/WCS interface where the extent of the BBOX is considered to be in - let's say - edge of pixel representation and not in center of pixel representation.</div>
<div><br></div><div>Best regards,</div><div><br></div><div>Tamas</div><div><br></div><div><br></div></div>