Getting map extents using mode=map
Ed McNierney
ed at TOPOZONE.COM
Wed Nov 17 08:37:19 PST 2004
Randy -
If you use mode=map you must SPECIFY the extents of the map when you make the request. You can't "retrieve" them since mode=map only returns an image, but you can try to remember the extents you specified when you made the request. Unless you requested an area of a different shape than your image, what you get is what you asked for.
- Ed
Ed McNierney
TopoZone.com
-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On Behalf Of Randy Page
Sent: Wednesday, November 17, 2004 11:09 AM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: [UMN_MAPSERVER-USERS] Getting map extents using mode=map
Hi All,
I am using MapServer CGI, and have a questing regarding mode=map. In the
past I have used mode=browse, which allowed me to return information such
as the map extents and scale via the template. However, I now need to
switch to mode=map, and need to know if there is a way to retrieve the extents and scale of the image produced.
Any suggestions?
Thanks,
Randy Page
More information about the MapServer-users
mailing list