[mapserver-users] About a sentence in MapServer (fantastic) documentation

aborruso aborruso at gmail.com
Sat Oct 26 01:01:56 PDT 2013


Hi all,
yesterday I have worked on a mapfile. I needed to do run-time calls to this
mapfile, to chane map file parameters via a form or a URL.

I wanted to change DATA parameters via URL, and I set DATAPATTERN map
parameter. In the documentation, for  DATAPATTERN  you have:
"This defines a regular expression to be applied to requests to change DATA
parameters via URL requests (i.e. map_layername_data=...)."

Then I have started my web calls whit this kind of URL:
http://myserver/cgi-bin/mapserv?map=/temp/test.map&mode=map&map_layername_data=012.tif 

But it does not work. I had to use:
http://myserver/cgi-bin/mapserv?map=/temp/test.map&mode=map&map.layer[layername]=DATA+012.tif 

What do you think to modify the above documentation sentence in something
like:
"This defines a regular expression to be applied to requests to change DATA
parameters via URL requests (i.e. map.layer[layername]=DATA+...)."

Best regards,

Andrea




--
View this message in context: http://osgeo-org.1560.x6.nabble.com/About-a-sentence-in-MapServer-fantastic-documentation-tp5085900.html
Sent from the Mapserver - User mailing list archive at Nabble.com.


More information about the mapserver-users mailing list