mapserver in background

Stephen Woodbridge woodbri at SWOODBRIDGE.COM
Wed Dec 28 07:01:33 PST 2005


Walter Lorenzetti wrote:
> Hi All,
> 
> I'd like to know if is possible to use mapserver bin application in background 
> mode:
> if possible use mapserver with command line to generate images without use 
> html template and browser

Yes, we do that with Perl/Mapscript, it is also possible to do it using 
CGI parameters by setting environment variables like

export REQUEST_METHOD=GET
export QUERY_STRING='mode=map&map=/path/to/mapfile&....'
mapserv > file.png

-Steve W.



More information about the MapServer-users mailing list