Hello all,<br><br>I'm developing an aplicattion based on mapserver in
which I have a text box to set a numerical scale. This numerical scale
($_scale = 20000) is used to render the image via the following mapscript:<br>
<br>
<br>
$_scale = 20000;<br>
$center_point=ms_newPointObj();<br>
$center_point->setXY($map->width/2, $map->height/2);<br>
$map->zoomscale($_scale,$center_point, $map->width, $map->height, $map->extent);<br>
<br>
However the image retrieved doesn't have the correct dimensions. The
graphical scale is correct, but 1 cm on the image doesn't corresponde
to 20000 (in this case) on the ground. <br>
<br>
I know that the RESOLUTION parameter is used to perform scale computations, so what RESOLUTION should I use on the mapfile?<br>
RESOLUTION depends on monitor size and monitor resolution, right?<br>
How can the server/browser know the monitor size/resolution?<br><br><br>Best regards,<br>André Silva<br>