[mapserver-users] Mapserver CGI variable: img. (FWD)

teb teb at mallit.fr.umn.edu
Fri Feb 8 10:28:06 EST 2002


------------- Begin Forwarded Message -------------

Content-return: allowed
Date: Thu, 07 Feb 2002 08:51:14 -0800
From: "Webber, Tim MCF:EX" <Tim.Webber at gems1.gov.bc.ca>
Subject: Mapserver CGI variable: img.
To: "'mapserver-info at lists.gis.umn.edu'" <mapserver-info at lists.gis.umn.edu>
MIME-version: 1.0
Content-transfer-encoding: 7BIT

I am using an img src tag to run mapserver.  It almost does what I want.  4
gifs are created and dumped into my tmp directory.   My problem is that I
want to be able to control the name of these gifs.   I tried setting the img
cgi variable like in the following tag (&img=data1)  hoping  that that would
set the value of the main map gif but it does'nt work.  The map name still
comes out something like data110130986502268.gif.   Is there a way to
execute mapserver like I have below (which again works) and be able to set
the value of the gif's that get created and dumped into my tmp directory?

<img
src=/scripts/mapserv/mapserv.exe?map=e:\webmirror\www\hmap\data1.map&layer=m
cf_regions&layer=lhalabel&layer=aboriginal&img=data1&zoomsize=2 alt="MAP"
border=0><br>


------------- End Forwarded Message -------------





More information about the mapserver-users mailing list