[mapserver-users] incorrect minscale using php mapscript

Sven Schroeter schroeter at netgis.de
Tue Feb 17 06:08:25 EST 2009


Hi all,

I'm using php mapscript (MS 5.2.1 on Windows) in my client and have problems 
with the minscale from the WEB-Section of my mapfile.

For example if I set
MINSCALE 10000

on an imgsize with 1618 x 907 pixels the minscale for creating an image is 
17848
on an imgsize with  822 x 503  pixels the minscale is 16355

I get the same wrong scale setting the minscale with mapscript:
$map->web->set(minscale, 10000);

where is the error?

Thanks
Sven 




More information about the mapserver-users mailing list