Opened 18 years ago

Closed 16 years ago

#1742 closed defect (fixed)

[MS Documentation] Missing CGI map_* variables in docs

Reported by: jmckenna@… Owned by: jmckenna
Priority: highest Milestone: 5.0.3 release
Component: Documentation - MapServer Version: unspecified
Severity: normal Keywords:
Cc:

Description

from IRC:

*****

	dpatton	I was looking on mapserver.gis.umn.edu for an explanation of a MS CGI
query string parameter I saw as part of a website's URL: "map_web_template".
	-->|	adamhill_work (n=86a3fd7f@c2.ae.5446.static.theplanet.com) has joined
#mapserver
	dpatton	A search only finds 3 references to it - shouldn't there be
something(in the CGI MapServer section?) that links "map_web_templae" to the
Template Reference section of the documentation?
	-->|	pakman (n=pakman@216.132.116.100) has joined #mapserver
	FrankW	Is the TEMPLATE keyword not documented in the mapfile reference?
	FrankW	As far as I know virtually every keyword in the mapfile can be set from
the url in this manner.
	FrankW	Though I don't normally use this mechanism.
	dpatton	The only reference to "TEMPLATE" is in the Changes section: TEMPLATE
has been removed, since the map_web_template syntax can be used to alter a
template file.
	FrankW	Hmm, funky. It's a mystery to me then.
	FrankW	jmckenna? Any idea?
	dpatton	It seems to me that map_web_template should be listed in the CGI page's
Controls section?
	FrankW	Perhaps. I must defer from expressing an opinion though since I don't
know much about this.
	jmckenna	template - sounds odd to me too, checking
	jmckenna	dpatton: it seems the map_* variables are missing (web_template,
legend_status, scalebar_status, web_imagepath, web_imageurl). i'm trying to find
them in the docs and cannot. i'm also searching bugs to see when they were
added. but thanks for pointing that out, i'll make sure they are added
	dpatton	jmckenna: ok, so it wasn't just my lack of MS knowledge then ;-)

Change History (4)

comment:1 by jmckenna, 17 years ago

Milestone: 5.0 release

comment:2 by jmckenna, 17 years ago

Owner: changed from jmckenna@… to jmckenna

comment:3 by jmckenna, 16 years ago

Status: newassigned

comment:4 by jmckenna, 16 years ago

Resolution: fixed
Status: assignedclosed

I've documented the 5.0 changes to the "Changing map file parameters via a form or a URL" section of the CGI reference, which includes examples of the map_web use. Checked into SVN in /trunk/docs/

Note: See TracTickets for help on using tickets.