[Mapserver-users] set zoom level to 1:1?

Twan Kogels twan at twansoft.com
Fri Dec 13 05:59:44 PST 2002


Frank, Ed,

Thanks for the helpfull replies, it works perfect!

Best regards,
Twan

At 12:25 12-12-2002 -0500, you wrote:
>Twan Kogels wrote:
>>Pixel Size = (1.500000,-1.500000)
>
>Twan,
>
>This is the key piece of information.  If you want to see the image
>at 1:1 you will need to map from extents that relate to this.
>
>So for instance to view a 400x400 map area at 1:1 ensure that the
>map extents are fora  rectangle of 600m x 600m (win_xsize * pixel_xsize,
>win_ysize * pixel_ysize).
>
>Good luck,
>--
>---------------------------------------+--------------------------------------
>I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
>light and sound - activate the windows | http://pobox.com/~warmerdam
>and watch the world go round - Rush    | Geospatial Programmer for Rent
>




More information about the MapServer-users mailing list