Creating a designated graphics file

Kralidis,Tom [Burlington] Tom.Kralidis at EC.GC.CA
Wed Jan 4 12:51:26 PST 2006


AFAIK, you can set everything but the filename.  The output filename is based on a combination of a numerical timestamp and type of image ('sb' for scalebar, 'leg' for legend, etc.).

Of course, you can use mapscript to do this, but I'm not sure if this is at all possible in CGI mode.

..Tom



-----Original Message-----
From:	UMN MapServer Users List on behalf of Chip Taylor
Sent:	Wed 04-Jan-06 15:40
To:	MAPSERVER-USERS at LISTS.UMN.EDU
Cc:	
Subject:	[UMN_MAPSERVER-USERS] Creating a designated graphics file

Is there a way to use MapServer CGI to output a graphics file (GIF or JPG)
to a designated location with a designated name on a Windows/IIS server?
For example, I'd like to be able to call  mapserver.exe and tell it to name
the file "thismap.jpg" and create it in directory c:\wwwroot\projects\maps\

 

Chip Taylor

Prepared Response, Inc



More information about the MapServer-users mailing list