Getting map extents using mode=map
Ethan Alpert
ealpert at DIGITALGLOBE.COM
Wed Nov 17 09:21:40 PST 2004
Ed, I agree but I guess we're not getting the whole picture of why
extents aren't available to James.
BTW, one possibility is to set up mapserver as a WMS server. This way
you could do a GetCapabilities request and retrieve extent information.
-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:56 AM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: Re: [UMN_MAPSERVER-USERS] Getting map extents using mode=map
Ethan -
Well, you do if you want MapServer to generate more than one image <g>!
And in any event, if you specified them in the mapfile and DON'T change
them in the you shouldn't need MapServer to tell you what they are;
they're constant.
- Ed
[snip]
-----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