[SCM] mapserver branch, master, updated. upstream/6.2.1-72-ga226f0d
Bas Couwenberg
sebastic at xs4all.nl
Fri Jul 5 21:22:02 UTC 2013
The following commit has been merged in the master branch:
commit 5c30137ef5f31918e52820c434e7d1c3c57221a7
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Fri Jul 5 22:36:12 2013 +0200
Add man page for mapserv.
diff --git a/debian/changelog b/debian/changelog
index 5b003cb..058903a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -29,6 +29,7 @@ mapserver (6.2.1-3) UNRELEASED; urgency=low
- shptreevis
- sortshp
- tile4ms
+ - mapserv
-- Bas Couwenberg <sebastic at xs4all.nl> Fri, 14 Jun 2013 22:00:07 +0200
diff --git a/debian/man/mapserv.1.xml b/debian/man/mapserv.1.xml
new file mode 100644
index 0000000..e51c575
--- /dev/null
+++ b/debian/man/mapserv.1.xml
@@ -0,0 +1,111 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
+<refentry id='mapserv'>
+
+ <refmeta>
+ <refentrytitle>mapserv</refentrytitle>
+ <manvolnum>1</manvolnum>
+ </refmeta>
+
+ <refnamediv>
+ <refname>mapserv</refname>
+ <refpurpose>mapserver CGI interface</refpurpose>
+ </refnamediv>
+
+ <refsynopsisdiv id='synopsis'>
+ <cmdsynopsis>
+ <command>mapserv</command>
+ <group>
+ <arg choice='plain'><option>-v</option></arg>
+ <arg choice='plain'>
+ <arg choice='opt'><option>-nh</option></arg>
+ QUERY_STRING="<replaceable>QUERY_STRING</replaceable>"
+ </arg>
+ </group>
+ </cmdsynopsis>
+ </refsynopsisdiv>
+
+ <refsect1 id='description'>
+ <title>DESCRIPTION</title>
+ <para>
+ <command>mapserv</command> provides commandline access to the MapServer
+ CGI interface.
+ </para>
+ </refsect1>
+
+ <refsect1 id='options'>
+ <title>OPTIONS</title>
+ <variablelist>
+
+ <varlistentry>
+ <term><option>-v</option></term>
+ <listitem>
+ <para>Display mapserver version and build options.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><option>-nh</option></term>
+ <listitem>
+ <para>Suppress HTTP headers.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><option>QUERY_STRING</option>="<replaceable>QUERY_STRING</replaceable>"</term>
+ <listitem>
+ <para>
+ CGI QUERY_STRING parameter, e.g.
+ QUERY_STRING="MAP=/home/user/wfs.map&SERVICE=WFS&REQUEST=GetCapabilities"
+ </para>
+ </listitem>
+ </varlistentry>
+
+ </variablelist>
+ </refsect1>
+
+ <refsect1 id='example'>
+ <title>EXAMPLE</title>
+
+ <informalexample>
+ <para>
+ The CGI interface can be tested at the commandline by using the "QUERY_STRING" switch, such as:
+ </para>
+
+ <screen>
+ mapserv "QUERY_STRING=map=/home/user/wms.map&mode=map"
+ </screen>
+ </informalexample>
+
+ <informalexample>
+ <para>
+ To suppress the HTTP headers, you can use the "-nh" switch, such as:
+ </para>
+
+ <screen>
+ mapserv -nh "QUERY_STRING=map=/home/user/wms.map&mode=map"
+ </screen>
+ </informalexample>
+
+ <informalexample>
+ <para>
+ To save the output into an image file, use the pipe command such as:
+ </para>
+
+ <screen>
+ mapserv -nh "QUERY_STRING=map=/home/user/wms.map&mode=map" > test.png
+ </screen>
+ </informalexample>
+ </refsect1>
+
+ <refsect1 id='see-also'>
+ <title>SEE ALSO</title>
+
+ <para>
+ <ulink url="http://mapserver.org/cgi/index.html">
+ <citetitle>MapServer CGI Documentation</citetitle>
+ </ulink>
+ </para>
+ </refsect1>
+
+</refentry>
diff --git a/debian/mapserver-bin.manpages b/debian/mapserver-bin.manpages
index 032bf90..552e8bd 100644
--- a/debian/mapserver-bin.manpages
+++ b/debian/mapserver-bin.manpages
@@ -1,4 +1,5 @@
debian/man/legend.1
+debian/man/mapserv.1
debian/man/msencrypt.1
debian/man/scalebar.1
debian/man/shp2img.1
--
Mapserver
More information about the Pkg-grass-devel
mailing list