[mapproxy] 02/03: Add manpage for mapproxy-seed.

Bas Couwenberg sebastic at debian.org
Wed Jul 27 18:55:03 UTC 2016


This is an automated email from the git hooks/post-receive script.

sebastic pushed a commit to branch master
in repository mapproxy.

commit 41c2445b91e3f3ff5bfcfaac95d23a3ae807dc78
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Wed Jul 27 20:25:28 2016 +0200

    Add manpage for mapproxy-seed.
---
 debian/changelog               |   2 +-
 debian/man/mapproxy-seed.1.xml | 224 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 225 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index e961e95..599fa14 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -28,7 +28,7 @@ mapproxy (1.9.0-1) UNRELEASED; urgency=medium
   * Bump Standards-Version to 3.9.8, changes:
     description, Vcs-* fields, copyright-format 1.0.
   * Include AUTHORS.txt & README.rst mapproxy docs.
-  * Add manpage for mapproxy-util.
+  * Add manpage for mapproxy-util & mapproxy-seed.
 
  -- Bas Couwenberg <sebastic at debian.org>  Tue, 26 Jul 2016 19:01:26 +0200
 
diff --git a/debian/man/mapproxy-seed.1.xml b/debian/man/mapproxy-seed.1.xml
new file mode 100644
index 0000000..f58d4a0
--- /dev/null
+++ b/debian/man/mapproxy-seed.1.xml
@@ -0,0 +1,224 @@
+<?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='mapproxy-seed'>
+
+  <refmeta>
+    <refentrytitle>mapproxy-seed</refentrytitle>
+    <manvolnum>1</manvolnum>
+  </refmeta>
+
+  <refnamediv>
+    <refname>mapproxy-seed</refname>
+    <refpurpose>pre-generate tiles for MapProxy</refpurpose>
+  </refnamediv>
+
+  <refsynopsisdiv id='synopsis'>
+    <cmdsynopsis>
+      <command>mapproxy-seed</command>
+      <arg choice='opt'><replaceable>OPTIONS</replaceable></arg>
+    </cmdsynopsis>
+  </refsynopsisdiv>
+
+  <refsect1 id='description'>
+    <title>DESCRIPTION</title>
+    <para>
+      <command>mapproxy-seed</command> pre-generates tiles for MapProxy to
+      improve the performance for commonly requested views, because MapProxy
+      creates all tiles on demand otherwise.
+    </para>
+    <para>
+      The tool can seed one or more polygon or BBOX areas for each cached
+      layer.
+    </para>
+    <para>
+      MapProxy does not seed the tile pyramid level by level, but traverses
+      the tile pyramid depth-first, from bottom to top.
+      This is optimized to work with the caches of your operating system and
+      geospatial database, and not against.
+    </para>
+  </refsect1>
+
+  <refsect1 id='options'>
+    <title>OPTIONS</title>
+    <variablelist>
+
+      <varlistentry>
+        <term><option>-s</option> <replaceable>seed.yaml</replaceable></term>
+        <term><option>--seed-conf</option> <replaceable>seed.yaml</replaceable></term>
+        <listitem>
+          <para>
+            The seed configuration.
+            You can also pass the configration as the last argument to
+            <command>mapproxy-seed</command>.
+          </para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term><option>-f</option> <replaceable>mapproxy.yaml</replaceable></term>
+        <term><option>--proxy-conf</option> <replaceable>mapproxy.yaml</replaceable></term>
+        <listitem>
+          <para>
+            The MapProxy configuration to use.
+            This file should describe all caches and grids that the seed
+            configuration references.
+          </para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term><option>-c</option> <replaceable>N</replaceable></term>
+        <term><option>--concurrency</option> <replaceable>N</replaceable></term>
+        <listitem>
+          <para>
+            The number of concurrent seed worker.
+            Some parts of the seed tool are CPU intensive (image splitting and
+            encoding), use this option to distribute that load across multiple
+            CPUs.
+            To limit the concurrent requests to the source WMS see
+            <literal>wms_source_concurrent_requests_label</literal>.
+          </para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term><option>-n</option></term>
+        <term><option>--dry-run</option></term>
+        <listitem>
+          <para>
+            This will simulate the seed/cleanup process without requesting,
+            creating or removing any tiles.
+          </para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term><option>--summary</option></term>
+        <listitem>
+          <para>
+            Print a summary of all seeding and cleanup tasks and exit.
+          </para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term><option>-i</option></term>
+        <term><option>--interactive</option></term>
+        <listitem>
+          <para>
+            Print a summary of each seeding and cleanup task and ask if
+            <command>mapproxy-seed</command> should seed/cleanup that task.
+            It will query for each task before it starts.
+          </para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term><option>--seed</option> <replaceable>task1,task2,..</replaceable></term>
+        <listitem>
+          <para>
+            Only seed the named seeding tasks.
+            You can select multiple tasks with a list of comma separated names,
+            or you can use the <option>--seed</option> option multiple times.
+            You can use <literal>ALL</literal> to select all tasks.
+            This disables all cleanup tasks unless you also use the
+            <option>--cleanup</option> option.
+          </para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term><option>--cleanup</option> <replaceable>task1,task2,..</replaceable></term>
+        <listitem>
+          <para>
+            Only cleanup the named tasks.
+            You can select multiple tasks with a list of comma separated names,
+            or you can use the <option>--cleanup</option> option multiple times.
+            You can use <literal>ALL</literal> to select all tasks.
+            This disables all seeding tasks unless you also use the
+            <option>--seed</option> option.
+          </para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term><option>--continue</option></term>
+        <listitem>
+          <para>
+            Continue an interrupted seed progress.
+            MapProxy will start the seeding progress at the beginning if the
+            progress file (<option>--progress-file</option>) was not found.
+            MapProxy can only continue if the previous seed was started with
+            the <option>--progress-file</option> or
+            <option>--continue</option> option.
+          </para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term><option>--progress-file</option></term>
+        <listitem>
+          <para>
+            Filename where MapProxy stores the seeding progress for the
+            <option>--continue</option> option.
+            Defaults to <literal>.mapproxy_seed_progress</literal> in the
+            current working directory.
+            MapProxy will remove that file after a successful seed.
+          </para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term><option>--use-cache-lock</option></term>
+        <listitem>
+          <para>
+            Lock each cache to prevent multiple parallel
+            <command>mapproxy-seed</command> calls to work on the same cache.
+            It does not lock normal operation of MapProxy.
+          </para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term><option>--log-config</option></term>
+        <listitem>
+          <para>
+            The logging configuration file to use.
+          </para>
+        </listitem>
+      </varlistentry>
+
+    </variablelist>
+
+  </refsect1>
+  
+  <refsect1 id='example'>
+    <title>Example</title>
+    <para>
+      Seed with concurrency of 4:
+    </para>
+    <screen>
+<command>mapproxy-seed</command> <option>-f</option> mapproxy.yaml <option>-c</option> 4 seed.yaml
+    </screen>
+    <para>
+      Print summary of all seed tasks and exit:
+    </para>
+    <screen>
+<command>mapproxy-seed</command> <option>-f</option> mapproxy.yaml <option>-s</option> seed.yaml <option>--summary</option> <option>--seed</option> ALL
+    </screen>
+    <para>
+      Interactively select which tasks should be seeded:
+    </para>
+    <screen>
+<command>mapproxy-seed</command> <option>-f</option> mapproxy.yaml <option>-s</option> seed.yaml <option>-i</option>
+    </screen>
+    <para>
+      Seed task1 and task2 and cleanup task3 with concurrency of 2:
+    </para>
+    <screen>
+<command>mapproxy-seed</command> <option>-f</option> mapproxy.yaml <option>-s</option> seed.yaml <option>-c</option> 2 <option>--seed</option> task1,task2 \
+ <option>--cleanup</option> task3
+    </screen>
+  </refsect1>
+
+</refentry>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/mapproxy.git



More information about the Pkg-grass-devel mailing list