Getting map extents using mode=map
Ethan Alpert
ealpert at DIGITALGLOBE.COM
Wed Nov 17 08:50:25 PST 2004
Extents are defined in the mapfile so you're not required to provide
extents in the URL.
-e
-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On
Behalf Of Ed McNierney
Sent: Wednesday, November 17, 2004 9:37 AM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: Re: [UMN_MAPSERVER-USERS] Getting map extents using mode=map
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