[qmapshack] 07/10: Add patch for qmt_map2jnx manpage.

Bas Couwenberg sebastic at debian.org
Mon Mar 5 18:23:08 UTC 2018


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

sebastic pushed a commit to branch master
in repository qmapshack.

commit 7468baa55b98fac90aad523a58287692085b21b1
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Mon Mar 5 17:16:57 2018 +0100

    Add patch for qmt_map2jnx manpage.
---
 debian/changelog                         |   1 +
 debian/patches/qmt_map2jnx-manpage.patch | 118 +++++++++++++++++++++++++++++++
 debian/patches/series                    |   1 +
 3 files changed, 120 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index fa4fee0..48cf59e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ qmapshack (1.11.0-1) UNRELEASED; urgency=medium
   * Update copyright years for Oliver Eichler & Norbert Truchsess.
   * Update compass image paths.
   * Add patch to fix build failure with -Werror=format-security.
+  * Add patch for qmt_map2jnx manpage.
 
  -- Bas Couwenberg <sebastic at debian.org>  Mon, 05 Mar 2018 15:22:53 +0100
 
diff --git a/debian/patches/qmt_map2jnx-manpage.patch b/debian/patches/qmt_map2jnx-manpage.patch
new file mode 100644
index 0000000..38aae94
--- /dev/null
+++ b/debian/patches/qmt_map2jnx-manpage.patch
@@ -0,0 +1,118 @@
+Description: Add manpage for qmt_map2jnx.
+Author: Bas Couwenberg <sebastic at debian.org>
+Forwarded: https://bitbucket.org/maproom/qmapshack/pull-requests/215/add-manpage-for-qmt_map2jnx/diff
+
+--- /dev/null
++++ b/qmt_map2jnx.1
+@@ -0,0 +1,99 @@
++.TH "QMT_MAP2JNX" "1" "Jan 2018" "" ""
++.SH "NAME"
++qmt_map2jnx - convert map to JNX
++.br
++
++.SH "SYNOPSIS"
++qmt_map2jnx \-q <1..100> \-s <411|422|444> \-p <0..> \-c "copyright notice"
++\-m "BirdsEye" \-n "Unknown" \-x file1_scale,file2_scale,...,fileN_scale
++<file1> <file2> ... <fileN> <outputfile>
++.br
++
++.SH "DESCRIPTION"
++\fBqmt_map2jnx\fR is a helper utility for qmapshack(1) to convert a map
++to JNX format.
++.PP
++The projection of the input files must have the same latitude along
++a pixel row. Mecator and Longitude/Latitude projections match this
++this property. Transversal Merkator or Lambert projections do not.
++.PP
++To rectify a geotiff map, you can use the gdalwarp command, e.g.
++.IP
++gdalwarp \-t_srs "EPSG:4326" <inputfile> <outputfile>
++.PP
++Scale levels must be pass in same order as level files pointed.
++Empty and zero values equal to autodetect. We can point only needed
++levels, like:
++.IP
++\-x 45356,,,75; \-x ,,,,75
++.PP
++Calculated levels table can be found:
++.IP \[bu]
++English: http://whiter.brinkster.net/en/JNX.shtml
++.IP \[bu]
++Russian: http://whiter.brinkster.net/JNX.shtml
++.PP
++Most common values for different map scales:
++.IP
++ JNX scale              Map scale
++ -------------          ---------
++ 78125-31250            1:1 000 000
++ 20834-7813             1:500 000
++ 7813-3125              1:200 000
++ 3125-2084              1:100 000
++ 2084-782               1:50 000
++ 782-32                 1:25 000
++ 32-21                  1:10 000
++ 21-14                  1:5000, 1:2000
++
++.SH "OPTIONS"
++\fB-q\fR
++.br
++	The JPEG quality from 1 to 100. Default is 75
++.br
++
++\fB-s\fR
++.br
++	The chroma subsampling. Default is 411
++.br
++	
++.br
++\fB-p\fR
++.br
++	The product ID. Default is 0
++.br
++	
++.br
++\fB-c\fR
++.br
++	The copyright notice. Default is "Unknown"
++.br
++	
++.br
++\fB-m\fR
++.br
++	The subscription product name. Default is "BirdsEye"
++.br
++
++\fB-n\fR
++.br
++	The map name. Default is "Unknown"
++.br
++
++\fB-z\fR
++.br
++	The z order (drawing order). Default is 25
++.br
++
++\fB-x\fR
++.br
++	Override levels scale. Default: autodetect
++.br
++
++.SH "SEE ALSO"
++https://bitbucket.org/maproom/qmapshack/wiki/DocMain
++.br
++
++.SH "AUTHOR"
++qmt_map2jnx was written and is currently maintained by Oliver Eichler \fB<oliver.eichler at gmx.de>\fR.
++.br
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index bcb6988..9102369 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -198,6 +198,7 @@ if(BUILD_QMAPTOOL)
+     install( FILES        src/icons/48x48/QMapTool.png      DESTINATION     ${DATA_INSTALL_PREFIX}/pixmaps )
+     install( DIRECTORY    src/icons/qmaptool/hicolor        DESTINATION     ${ICON_INSTALL_DIR} )
+     install( FILES        qmaptool.1                        DESTINATION     ${MAN_INSTALL_DIR}/man1  )
++    install( FILES        qmt_map2jnx.1                     DESTINATION     ${MAN_INSTALL_DIR}/man1  )
+     install( FILES        qmt_rgb2pct.1                     DESTINATION     ${MAN_INSTALL_DIR}/man1  )
+ endif(BUILD_QMAPTOOL)
+ endif (UNIX AND NOT WIN32 AND NOT APPLE)
diff --git a/debian/patches/series b/debian/patches/series
index 96ffb92..700c7eb 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 format-security.patch
+qmt_map2jnx-manpage.patch

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



More information about the Pkg-grass-devel mailing list