[spatialite-tools] 05/10: Add man page for spatialite_osm_overpass.

Bas Couwenberg sebastic at xs4all.nl
Wed Nov 26 22:51:07 UTC 2014


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

sebastic-guest pushed a commit to branch experimental
in repository spatialite-tools.

commit afb262bb118e59804a3aad6256cc778850c8af52
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Wed Nov 26 22:17:37 2014 +0100

    Add man page for spatialite_osm_overpass.
---
 debian/changelog                         |   1 +
 debian/man/spatialite_osm_overpass.1.xml | 160 +++++++++++++++++++++++++++++++
 debian/spatialite-bin.manpages           |   1 +
 3 files changed, 162 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 64c9974..1b2824f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ spatialite-tools (4.2.1~rc1-1) UNRELEASED; urgency=medium
 
   * New upstream release candidate.
   * Set experimental branch in Vcs-Git and gbp.conf.
+  * Add man page for spatialite_osm_overpass.
 
  -- Bas Couwenberg <sebastic at xs4all.nl>  Wed, 26 Nov 2014 21:39:05 +0100
 
diff --git a/debian/man/spatialite_osm_overpass.1.xml b/debian/man/spatialite_osm_overpass.1.xml
new file mode 100644
index 0000000..0c899cb
--- /dev/null
+++ b/debian/man/spatialite_osm_overpass.1.xml
@@ -0,0 +1,160 @@
+<?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='spatialite_osm_overpass'>
+
+  <refmeta>
+    <refentrytitle>spatialite_osm_overpass</refentrytitle>
+    <manvolnum>1</manvolnum>
+  </refmeta>
+
+  <refnamediv>
+    <refname>spatialite_osm_overpass</refname>
+    <refpurpose>download OSM XML via the Overpass API into a SpatiaLite DB</refpurpose>
+  </refnamediv>
+
+  <refsynopsisdiv id='synopsis'>
+    <cmdsynopsis>
+      <command>spatialite_osm_overpass</command>
+      <arg choice='opt'><option>-h</option></arg>
+      <arg choice='opt'><option>-d</option> <replaceable>pathname</replaceable></arg>
+      <arg choice='opt'><option>-minx</option> <replaceable>coord</replaceable></arg>
+      <arg choice='opt'><option>-maxx</option> <replaceable>coord</replaceable></arg>
+      <arg choice='opt'><option>-miny</option> <replaceable>coord</replaceable></arg>
+      <arg choice='opt'><option>-maxy</option> <replaceable>coord</replaceable></arg>
+      <arg choice='opt'><option>-o</option> <replaceable>URL</replaceable></arg>
+      <arg choice='opt'><option>-mode</option> <replaceable>mode</replaceable></arg>
+      <arg choice='opt'><option>-cs</option> <replaceable>num</replaceable></arg>
+      <arg choice='opt'><option>-m</option></arg>
+      <arg choice='opt'><option>-jo</option></arg>
+      <arg choice='opt'><option>-p</option></arg>
+    </cmdsynopsis>
+  </refsynopsisdiv>
+
+  <refsect1 id='description'>
+    <title>DESCRIPTION</title>
+    <para>
+      <command>spatialite_osm_overpass</command> is a tool for downloading OSM
+      datasets via the Overpass API into a SpatiaLite DB.
+    </para>
+  </refsect1>
+
+  <refsect1 id='options'>
+    <title>OPTIONS</title>
+    <variablelist>
+
+      <varlistentry>
+        <term><option>-h</option></term>
+        <term><option>--help</option></term>
+        <listitem>
+          <para>show help message</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term><option>-d</option> <replaceable>pathname</replaceable></term>
+        <term><option>--db-path</option> <replaceable>pathname</replaceable></term>
+        <listitem>
+          <para>the SpatiaLite DB path</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term><option>-minx</option> <replaceable>coord</replaceable></term>
+        <term><option>--bbox-minx</option> <replaceable>coord</replaceable></term>
+        <listitem>
+          <para>BoundingBox - west longitude</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term><option>-miny</option> <replaceable>coord</replaceable></term>
+        <term><option>--bbox-miny</option> <replaceable>coord</replaceable></term>
+        <listitem>
+          <para>BoundingBox - east longitude</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term><option>-maxx</option> <replaceable>coord</replaceable></term>
+        <term><option>--bbox-maxx</option> <replaceable>coord</replaceable></term>
+        <listitem>
+          <para>BoundingBox - south longitude</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term><option>-maxy</option> <replaceable>coord</replaceable></term>
+        <term><option>--bbox-maxy</option> <replaceable>coord</replaceable></term>
+        <listitem>
+          <para>BoundingBox - north longitude</para>
+        </listitem>
+      </varlistentry>
+
+    </variablelist>
+    <para>
+      you can specify the following options as well
+    </para>
+    <variablelist>
+
+      <varlistentry>
+        <term><option>-o</option> <replaceable>URL</replaceable></term>
+        <term><option>--osm-service</option> <replaceable>URL</replaceable></term>
+        <listitem>
+          <para>URL of OSM Overpass service:</para>
+          <para>
+            http://overpass-api.de/api (default)
+          </para>
+          <para>
+            http://overpass.osm.rambler.ru/cgi
+          </para>
+          <para>
+            http://api.openstreetmap.fr/oapi
+          </para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term><option>-mode</option> <replaceable>mode</replaceable></term>
+        <term><option>--mode</option> <replaceable>mode</replaceable></term>
+        <listitem>
+          <para>one of: RAW / MAP (default) / ROAD / RAIL</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term><option>-cs</option> <replaceable>num</replaceable></term>
+        <term><option>--cache-size</option> <replaceable>num</replaceable></term>
+        <listitem>
+          <para>DB cache size (how many pages)</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term><option>-m</option></term>
+        <term><option>--in-memory</option></term>
+        <listitem>
+          <para>using IN-MEMORY database</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term><option>-jo</option></term>
+        <term><option>--journal-off</option></term>
+        <listitem>
+          <para>unsafe (but faster) mode</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term><option>-p</option></term>
+        <term><option>--preserve</option></term>
+        <listitem>
+          <para>skipping final cleanup (preserving OSM tables)</para>
+        </listitem>
+      </varlistentry>
+
+    </variablelist>
+
+  </refsect1>
+
+</refentry>
diff --git a/debian/spatialite-bin.manpages b/debian/spatialite-bin.manpages
index 59de7f3..ee50a03 100644
--- a/debian/spatialite-bin.manpages
+++ b/debian/spatialite-bin.manpages
@@ -8,6 +8,7 @@ debian/man/spatialite_network.1
 debian/man/spatialite_osm_filter.1
 debian/man/spatialite_osm_map.1
 debian/man/spatialite_osm_net.1
+debian/man/spatialite_osm_overpass.1
 debian/man/spatialite_osm_raw.1
 debian/man/spatialite_tool.1
 debian/man/spatialite_xml_collapse.1

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



More information about the Pkg-grass-devel mailing list