Tom, We have an asp.net/atlas wrapper that calls out to mapserver via CGI. I would like to change that to use WMS. If I understand correctly, I should be able to simply add a few more parameters to the WMS request string and mapserver will use those the same way as a mode=map request and substitute them into %var% tags?
Thanks, John -----Original Message----- From: Kralidis,Tom [Burlington] [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 03, 2006 10:10 AM To: John Cole; [email protected] Subject: RE: [UMN_MAPSERVER-USERS] Variable substitution and WMS > -----Original Message----- > From: UMN MapServer Users List > [mailto:[EMAIL PROTECTED] On Behalf Of John Cole > Sent: 03 October, 2006 11:06 AM > To: [email protected] > Subject: [UMN_MAPSERVER-USERS] Variable substitution and WMS > > Is it possible to use variable substitution with a WMS > request to mapserver? > It would be nice to be able to set username/passwords or > other information for layer queries to the mapfile. > > Thanks, > > John You should be able to use it with OGC:WMS, however a client would require more intelligence to pass along those variables. i.e. a vanille OGC:WMS client would need to be enhanced for this. Additionally, you can take a look at the Mapscript WxS services capability through you favourite scripting language, which can now expose as OGC Web Services (see the MapServer OGC Web Services Workshop [http://ms-ogc-workshop.maptools.org/] for more info and examples). ..Tom This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail.
