[SCM] spatialite-tools branch, master, updated. debian/4.0.0-1-33-ga7a885a

Bas Couwenberg sebastic at xs4all.nl
Mon Sep 30 17:14:21 UTC 2013


The following commit has been merged in the master branch:
commit 4ab3d4cf8df11492ec2b843ef09079e2bec7ba42
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Mon Sep 30 18:00:15 2013 +0200

    Add man page for: spatialite_tool.

diff --git a/debian/changelog b/debian/changelog
index 7191236..9d9e7ec 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -23,6 +23,7 @@ spatialite-tools (4.1.1-1) UNRELEASED; urgency=low
     - spatialite_osm_map
     - spatialite_osm_net
     - spatialite_osm_raw
+    - spatialite_tool
     (closes: #703344)
 
  -- Bas Couwenberg <sebastic at xs4all.nl>  Mon, 30 Sep 2013 02:35:52 +0200
diff --git a/debian/man/spatialite_tool.1.xml b/debian/man/spatialite_tool.1.xml
new file mode 100644
index 0000000..bc52c69
--- /dev/null
+++ b/debian/man/spatialite_tool.1.xml
@@ -0,0 +1,191 @@
+<?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_tool'>
+
+  <refmeta>
+    <refentrytitle>spatialite_tool</refentrytitle>
+    <manvolnum>1</manvolnum>
+  </refmeta>
+
+  <refnamediv>
+    <refname>spatialite_tool</refname>
+    <refpurpose>CLI tool for Shapefile import/export</refpurpose>
+  </refnamediv>
+
+  <refsynopsisdiv id='synopsis'>
+    <cmdsynopsis>
+      <command>spatialite_tool</command>
+      <group>
+        <arg choice='plain'><option>-h</option></arg>
+        <arg choice='plain'><option>-i</option></arg>
+        <arg choice='plain'><option>-e</option></arg>
+      </group>
+      <arg choice='opt'><option>-dbf</option> <replaceable>pathname</replaceable></arg>
+      <arg choice='opt'><option>-shp</option> <replaceable>pathname</replaceable></arg>
+      <arg choice='opt'><option>-d</option> <replaceable>pathname</replaceable></arg>
+      <arg choice='opt'><option>-t</option> <replaceable>table_name</replaceable></arg>
+      <arg choice='opt'><option>-g</option> <replaceable>col_name</replaceable></arg>
+      <arg choice='opt'><option>-c</option> <replaceable>charset_name</replaceable></arg>
+      <arg choice='opt'><option>-s</option> <replaceable>SRID</replaceable></arg>
+      <arg choice='opt'><option>--type</option>
+        <group>
+          <arg choice='opt'>POINT</arg>
+          <arg choice='opt'>LINESTRING</arg>
+          <arg choice='opt'>POLYGON</arg>
+          <arg choice='opt'>MULTIPOINT</arg>
+        </group>
+      </arg>
+      <arg choice='opt'><option>-2</option></arg>
+      <arg choice='opt'><option>-k</option></arg>
+    </cmdsynopsis>
+  </refsynopsisdiv>
+
+  <refsect1 id='description'>
+    <title>DESCRIPTION</title>
+    <para>
+      <command>spatialite_tool</command> is an utility CLI tool for Shapefile
+      import / export.
+    </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>-i</option></term>
+        <term><option>--import</option></term>
+        <listitem>
+          <para>import (CSV/TXT, DBF or SHP)</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term><option>-e</option></term>
+        <term><option>--export-shp</option></term>
+        <listitem>
+          <para>exporting some shapefile</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term><option>-dbf</option> <replaceable>pathname</replaceable></term>
+        <term><option>--dbf-path</option> <replaceable>pathname</replaceable></term>
+        <listitem>
+          <para>the full DBF path</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term><option>-shp</option> <replaceable>pathname</replaceable></term>
+        <term><option>--shapefile</option> <replaceable>pathname</replaceable></term>
+        <listitem>
+          <para>the shapefile path (NO SUFFIX)</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>-t</option> <replaceable>table_name</replaceable></term>
+        <term><option>--table</option> <replaceable>table_name</replaceable></term>
+        <listitem>
+          <para>the db geotable</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term><option>-g</option> <replaceable>col_name</replaceable></term>
+        <term><option>--geometry-column</option> <replaceable>col_name</replaceable></term>
+        <listitem>
+          <para>the Geometry column</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term><option>-c</option> <replaceable>charset_name</replaceable></term>
+        <term><option>--charset</option> <replaceable>charset_name</replaceable></term>
+        <listitem>
+          <para>a charset name</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term><option>-s</option> <replaceable>SRID</replaceable></term>
+        <term><option>--srid</option> <replaceable>SRID</replaceable></term>
+        <listitem>
+          <para>the SRID</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term><option>--type</option> [POINT | LINESTRING | POLYGON | MULTIPOINT]</term>
+        <listitem>
+          <para>the geometry type</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term><option>-2</option></term>
+        <term><option>--coerce-2d</option></term>
+        <listitem>
+          <para>coerce to 2D geoms (x,y)</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term><option>-k</option></term>
+        <term><option>--compressed</option></term>
+        <listitem>
+          <para>apply geometry compression</para>
+        </listitem>
+      </varlistentry>
+
+    </variablelist>
+
+  </refsect1>
+
+  <refsect1 id='example'>
+    <title>EXAMPLE</title>
+
+    <informalexample>
+      <screen>
+spatialite_tool −i −dbf abc.dbf −d db.sqlite −t tbl −c CP1252
+      </screen>
+    </informalexample>
+
+    <informalexample>
+      <screen>
+spatialite_tool −i −shp abc −d db.sqlite −t tbl −c CP1252 [−s 4326] [−g geom]
+      </screen>
+    </informalexample>
+
+    <informalexample>
+      <screen>
+spatialite_tool −i −shp abc −d db.sqlite −t tbl −c CP1252 [−s 4326] [−2] [−k]
+      </screen>
+    </informalexample>
+
+    <informalexample>
+      <screen>
+spatialite_tool −e −shp abc −d db.sqlite −t tbl −g geom −c CP1252 [−−type POINT]
+      </screen>
+    </informalexample>
+
+  </refsect1>
+
+</refentry>
diff --git a/debian/spatialite-bin.manpages b/debian/spatialite-bin.manpages
index 2abfc1c..0b6ae0e 100644
--- a/debian/spatialite-bin.manpages
+++ b/debian/spatialite-bin.manpages
@@ -9,3 +9,4 @@ debian/man/spatialite_osm_filter.1
 debian/man/spatialite_osm_map.1
 debian/man/spatialite_osm_net.1
 debian/man/spatialite_osm_raw.1
+debian/man/spatialite_tool.1

-- 
Spatialite Tools



More information about the Pkg-grass-devel mailing list