[Mapserver-users] SaveMap Parameter with Mapserver?

Jerod Clabaugh jclabaugh at mac.com
Fri May 21 18:54:22 EDT 2004


I am trying to send the current image from a mapserver page to 
another html page without using PHP, MapScript or complex 
jscript/dHTML. Yes, I could do it with that but I'm using MapServer 
3.6.4 until I can get around to compiling v4x for OS X, when I can 
use Chameleon and MapScript. Mr. Jacob Delfos has given me some 
significant help but when using a more elegant DHTML/JavaScript 
solution.  I was wondering if there is a way to do it using straight 


I can send an image and its legend, but its only the default layer, 
no additonal layers are shown even when the image I want to send has 
multiple layers displayed.


I am trying to use a URL string, passing cgi variables to develop a 
printable page where the current map and legend URLs from the view 
page are transferred to the print page easily to display the same 

Sample URL:

Map View</a>

I believe what I need is the ability to somehow turn on the savemap 
cgi parameter?  Is there a specific way to do this either in the map 
file or via a URL string as opposed to editing the mapserv.c file and 
recompling?  Will this work for the map and the legend or just the 
map image?

Thanks in advance for any info.


Jerod Clabaugh
Belize Biodiversity MapServer Initiative

More information about the mapserver-users mailing list