SYNOPSIS

mapserv \kx [-v | [-nh] QUERY_STRING=" QUERY_STRING" ]

DESCRIPTION

mapserv provides commandline access to the MapServer CGI interface.

OPTIONS

\*(T<-v\*(T>

Display mapserver version and build options.

\*(T<-nh\*(T>

Suppress HTTP headers.

\*(T<QUERY_STRING\*(T>="QUERY_STRING"

CGI QUERY_STRING parameter, e.g. QUERY_STRING="MAP=/home/user/wfs.map&SERVICE=WFS&REQUEST=GetCapabilities"

EXAMPLE

The CGI interface can be tested at the commandline by using the "QUERY_STRING" switch, such as:

\*(T<
       mapserv "QUERY_STRING=map=/home/user/wms.map&mode=map"
      \*(T>

To suppress the HTTP headers, you can use the "\*(T<-nh\*(T>" switch, such as:

\*(T<
       mapserv -nh "QUERY_STRING=map=/home/user/wms.map&mode=map"
      \*(T>

To save the output into an image file, use the pipe command such as:

\*(T<
       mapserv -nh "QUERY_STRING=map=/home/user/wms.map&mode=map" > test.png
      \*(T>

RELATED TO mapserv…

\$2 \(la\$1\(ra\$3