[mapserver-users] draw map at a precise scale

Lime, Steve D (MNIT) Steve.Lime at state.mn.us
Tue Aug 13 09:48:40 PDT 2013


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

Steve

From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Michael McInnis
Sent: Monday, August 12, 2013 1:02 PM
To: mapserver-users at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20130813/ad2788ff/attachment-0001.html>


More information about the mapserver-users mailing list