Via the CGI you can use a combination of mapxy, mode=map, and scale parameters.

Steve

From: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Michael McInnis
Sent: Monday, August 12, 2013 1:02 PM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] draw map at a precise scale

I've been searching for a way to draw my map at a specific map location and a 
specific scale.

IE -90, 38 (Decimal Degree) at 1:100,000 scale

I've seen the zoomscale() and zoompoint() functions but they appear to be pixel 
coordinate driven and require extents which you wouldn't know, that's the point.

I can write the math to do the extent calculation manually but figure this is 
such a basic functionality it must
already exist in mapserver?

Anyone done this before?

Thanks
Michael McInnis
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to