logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

mapserv - mapserver CGI interface

Description

mapserv provides commandline access to the MapServer CGI interface.

Example

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

              mapserv "QUERY_STRING=map=/home/user/wms.map&mode=map"

       To suppress the HTTP headers, you can use the "-nh" switch, such as:

              mapserv -nh "QUERY_STRING=map=/home/user/wms.map&mode=map"

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

              mapserv -nh "QUERY_STRING=map=/home/user/wms.map&mode=map" > test.png

Name

       mapserv - mapserver CGI interface

Options

-v     Display mapserver version and build options.

       -nh    Suppress HTTP headers.

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

See Also

       MapServer CGI Documentation ⟨http://mapserver.org/cgi/index.html⟩

                                                 22 January 2025                                      mapserv(1)

Synopsis

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

See Also