changing map file variables

Robin.Ellis at dnr.qld.gov.au Robin.Ellis at dnr.qld.gov.au
Wed Nov 29 21:16:55 EST 2000


Hello.

I'm attempting to change the query template for a specified layer in my
mapfile on the fly using a hidden form variable. I have been able to do this
type of thing successfully for data sources etc of layers within my mapfile,
but I can't get the query template to change.

Here's the 2 form variable names I've tried (for a layer named 'areas' that
has a query template intially set to 'reg1javdisplay.html'):

  <input type="hidden" name="map_areas_query_template"
value="reg1display.html">

and 

  <input type="hidden" name="map_areas_template" value="reg1display.html">

Neither of these options is working at this stage, however I know that the
form input variable is being sent to mapserver by reading the URL.

Does anybody know of the appropriate string to use in order to access the
query template, or is this attribute of a layer un-changeable?

I'm using MS 3.3003 on a UNIX platform.

Thanks

Rob



Robin Ellis
Land Resources Officer
Department of Natural Resources
Burnett District
ph: 07 4131 5771
fax: 07 4131 5823
Robin.Ellis at dnr.qld.gov.au



************************************************************************
The information in this e-mail together with any attachments is
intended only for the person or entity to which it is addressed
and may contain confidential and/or privileged material.

Any form of review, disclosure, modification, distribution
and/or publication of this e-mail message is prohibited.  

If you have received this message in error, you are asked to
inform the sender as quickly as possible and delete this message
and any copies of this message from your computer and/or your
computer system network.  
************************************************************************



More information about the mapserver-users mailing list