Hidden Tags

Kralidis,Tom [Burlington] Tom.Kralidis at EC.GC.CA
Wed Dec 22 13:44:49 EST 2004


> -----Original Message-----
> From: UMN MapServer Users List 
> [mailto:MAPSERVER-USERS at lists.umn.edu] On Behalf Of Pablo Toapanta
> Sent: Wednesday, 22 December, 2004 13:38
> To: MAPSERVER-USERS at lists.umn.edu
> Subject: [UMN_MAPSERVER-USERS] Hidden Tags
> 
> 
> Hi
> 
> I have this HTML code lines:
> <input type="hidden" name="imgxy" value="305 208">
>  <input type="hidden" name="imgext" value="[mapext]">
>  <input type="hidden" name="map" value="[map]">
>  <input type="hidden" name="savequery" value="true">
>  <input type="hidden" name="program"
> value="[program]">
>  <input type="hidden" name="map_web_imagepath" 
> value="[map_web_imagepath]">  <input type="hidden" 
> name="map_web_imageurl" value="[map_web_imageurl]">
> 
> Could anyone explain me where are defined these tags:
> [mapext], [map], etc and all the other tags that are
> between "[" and "]"??
> 

When you define your mapfile, in MAP/WEB/METADATA, you point to the HTML
file via TEMPLATE "sompage.html".

When you run mapserv CGI, calling that mapfile, like:
http://host/mapserv?map=/path/to/somefile.map

...the MapServer CGI process processes the HTML file and looks for the
these special tags and replaces them with the appropriate value.

Also check out:

http://mapserver.gis.umn.edu/doc44/template-reference.html

http://mapserver.gis.umn.edu/doc44/cgi-reference.html

for more info.

..Tom


> Thanks
> 
> 
> 
> __________________________________
> Do you Yahoo!?
> All your favorites on one personal page - Try My Yahoo! 
> http://my.yahoo.com
> 



More information about the mapserver-users mailing list