[SCM] librasterlite branch, master, updated. debian/1.1d-1-17-g98dcec4
Bas Couwenberg
sebastic at xs4all.nl
Wed Oct 2 16:06:06 UTC 2013
The following commit has been merged in the master branch:
commit 51697f0cc9808edf02651d3b9e1b91e0e780fd6a
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Wed Oct 2 15:17:11 2013 +0200
Add man page for: rasterlite_grid.
diff --git a/debian/changelog b/debian/changelog
index 38d92be..5add933 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,8 @@ librasterlite (1.1g-1) UNRELEASED; urgency=low
* Use canonical URLs for Vcs-* fields.
* Update Homepage URL.
* Multi-Arch: same rasterlite-dbg for coinstallability.
+ * Add man page for tools:
+ - rasterlite_grid
-- Bas Couwenberg <sebastic at xs4all.nl> Tue, 01 Oct 2013 22:27:37 +0200
diff --git a/debian/control b/debian/control
index 48f2da8..d347b28 100644
--- a/debian/control
+++ b/debian/control
@@ -17,6 +17,10 @@ Build-Depends:
, libproj-dev
, libsqlite3-dev
, pkg-config
+ , docbook2x
+ , docbook-xsl
+ , docbook-xml
+ , xsltproc
Standards-Version: 3.9.4
Section: libs
Homepage: https://www.gaia-gis.it/fossil/librasterlite/
diff --git a/debian/man/rasterlite_grid.1.xml b/debian/man/rasterlite_grid.1.xml
new file mode 100644
index 0000000..d17eef5
--- /dev/null
+++ b/debian/man/rasterlite_grid.1.xml
@@ -0,0 +1,176 @@
+<?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='rasterlite_grid'>
+
+ <refmeta>
+ <refentrytitle>rasterlite_grid</refentrytitle>
+ <manvolnum>1</manvolnum>
+ </refmeta>
+
+ <refnamediv>
+ <refname>rasterlite_grid</refname>
+ <refpurpose>generate a GeoTIFF from am ASCII or BINARY Grid</refpurpose>
+ </refnamediv>
+
+ <refsynopsisdiv id='synopsis'>
+ <cmdsynopsis>
+ <command>rasterlite_grid</command>
+ <arg choice='opt'><option>-?</option></arg>
+ <arg choice='opt'><option>-g</option> <replaceable>pathname</replaceable></arg>
+ <arg choice='opt'><option>-c</option> <replaceable>pathname</replaceable></arg>
+ <arg choice='opt'><option>-t</option> <replaceable>pathname</replaceable></arg>
+ <arg choice='opt'><option>-p</option> <replaceable>proj4text</replaceable></arg>
+ <arg choice='opt'><option>-f</option>
+ <group>
+ <arg choice='plain'>ASCII</arg>
+ <arg choice='plain'>FLOAT</arg>
+ </group>
+ </arg>
+ <arg choice='opt'><option>-n</option> <replaceable>0xRRGGBB</replaceable></arg>
+ <arg choice='opt'><option>-v</option></arg>
+ <arg choice='opt'><option>-sr</option></arg>
+ <arg choice='opt'><option>-m</option> <replaceable>0xRRGGBB</replaceable></arg>
+ <arg choice='opt'><option>-z</option> <replaceable>numeric</replaceable></arg>
+ <arg choice='opt'><option>-s</option> <replaceable>numeric</replaceable></arg>
+ <arg choice='opt'><option>-az</option> <replaceable>numeric</replaceable></arg>
+ <arg choice='opt'><option>-al</option> <replaceable>numeric</replaceable></arg>
+ </cmdsynopsis>
+ </refsynopsisdiv>
+
+ <refsect1 id='description'>
+ <title>DESCRIPTION</title>
+ <para>
+ <command>rasterlite_grid</command> is a tool for generating a GeoTIFF from
+ an ASCII or BINARY Grid.
+ </para>
+ </refsect1>
+
+ <refsect1 id='options'>
+ <title>OPTIONS</title>
+ <variablelist>
+
+ <varlistentry>
+ <term><option>-?</option></term>
+ <term><option>--help</option></term>
+ <listitem>
+ <para>print help message</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><option>-g</option> <replaceable>pathname</replaceable></term>
+ <term><option>--grid-path</option> <replaceable>pathname</replaceable></term>
+ <listitem>
+ <para>the Grid path (input)</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><option>-c</option> <replaceable>pathname</replaceable></term>
+ <term><option>--color-path</option> <replaceable>pathname</replaceable></term>
+ <listitem>
+ <para>the ColorTable path (input)</para>
+ <para>
+ Please note: <option>--monochrome</option> and
+ <option>--color-path</option> are mutually exclusive options.
+ </para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><option>-t</option> <replaceable>pathname</replaceable></term>
+ <term><option>--tiff-path</option> <replaceable>pathname</replaceable></term>
+ <listitem>
+ <para>the GeoTIFF path (output)</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><option>-p</option> <replaceable>proj4text</replaceable></term>
+ <term><option>--proj4text</option> <replaceable>proj4text</replaceable></term>
+ <listitem>
+ <para>the PROJ.4 parameters</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><option>-f</option> [ASCII | FLOAT]</term>
+ <term><option>--grid-format</option> [ASCII | FLOAT]</term>
+ <listitem>
+ <para>the grid format, either ASCII or FLOAT</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><option>-n</option> <replaceable>0xRRGGBB</replaceable></term>
+ <term><option>--nodata-color</option> <replaceable>0xRRGGBB</replaceable></term>
+ <listitem>
+ <para>No data color (default = 0x000000)</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><option>-v</option></term>
+ <term><option>--verbose</option></term>
+ <listitem>
+ <para>verbose output</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><option>-sr</option></term>
+ <term><option>--shaded-relief</option></term>
+ <listitem>
+ <para>Use shaded relief (disabled by default)</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><option>-m</option> <replaceable>0xRRGGBB</replaceable></term>
+ <term><option>--monochrome</option> <replaceable>0xRRGGBB</replaceable></term>
+ <listitem>
+ <para>Monochrome color (default = none)</para>
+ <para>
+ Please note: <option>--monochrome</option> and
+ <option>--color-path</option> are mutually exclusive options.
+ </para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><option>-z</option> <replaceable>numeric</replaceable></term>
+ <term><option>--z-factor</option> <replaceable>numeric</replaceable></term>
+ <listitem>
+ <para>override the default z-factor (default = 1.0)</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><option>-s</option> <replaceable>numeric</replaceable></term>
+ <term><option>--scale-factor</option> <replaceable>numeric</replaceable></term>
+ <listitem>
+ <para>override the default scale factor (default = 1.0)</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><option>-az</option> <replaceable>numeric</replaceable></term>
+ <term><option>--azimuth</option> <replaceable>numeric</replaceable></term>
+ <listitem>
+ <para>override the default azimuth (default = 315.0)</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><option>-al</option> <replaceable>numeric</replaceable></term>
+ <term><option>--altitude</option> <replaceable>numeric</replaceable></term>
+ <listitem>
+ <para>override the default altitude (default = 45.0)</para>
+ </listitem>
+ </varlistentry>
+
+ </variablelist>
+
+ </refsect1>
+
+</refentry>
diff --git a/debian/rasterlite-bin.manpages b/debian/rasterlite-bin.manpages
new file mode 100644
index 0000000..f0304f0
--- /dev/null
+++ b/debian/rasterlite-bin.manpages
@@ -0,0 +1 @@
+debian/man/rasterlite_grid.1
diff --git a/debian/rules b/debian/rules
index a32eb0f..37c8796 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,10 +4,26 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
+MANPAGES := $(wildcard debian/man/*.*.xml)
+
%:
dh $@ \
--with autoreconf
+override_dh_clean:
+ dh_clean
+
+ $(RM) -f $(CURDIR)/debian/man/*.1
+
+override_dh_auto_build:
+ # Create man page from DocBook XML
+ for x in $(MANPAGES) ; do \
+ docbook2x-man $$x ; \
+ mv `basename $$x | sed 's/.xml$$//'` `dirname $$x` ; \
+ done
+
+ dh_auto_build
+
override_dh_strip:
dh_strip --dbg-package=rasterlite-dbg
--
library supporting raster data sources for spatialite
More information about the Pkg-grass-devel
mailing list