[Git][debian-gis-team/tilemaker][patch-queue/master] 2 commits: Avoid calling git outside of repository

ǝɹʇʇɐʃǝ◖ xıʃǝɟ (@xamanu) gitlab at salsa.debian.org
Fri Aug 27 21:52:59 BST 2021



ǝɹʇʇɐʃǝ◖ xıʃǝɟ pushed to branch patch-queue/master at Debian GIS Project / tilemaker


Commits:
e861f63f by Felix Delattre at 2021-08-27T19:40:27+00:00
Avoid calling git outside of repository

- - - - -
8ae39a07 by Felix Delattre at 2021-08-27T20:30:52+00:00
Add man page for tilemaker

- - - - -


2 changed files:

- Makefile
- + docs/man/tilemaker.1


Changes:

=====================================
Makefile
=====================================
@@ -62,8 +62,10 @@ endif
 # Main includes
 
 prefix = /usr/local
-
-TM_VERSION := $(shell git describe --tags --abbrev=0)
+MANPREFIX := /usr/share/man
+DEB_VERSION := $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f 2 -d ' ')
+DEB_NOEPOCH_VERSION := $(shell echo $(DEB_VERSION) | cut -d: -f2-)
+TM_VERSION := $(shell echo $(DEB_NOEPOCH_VERSION) | sed 's/-[^-]*$$//')
 CXXFLAGS := -O3 -Wall -Wno-unknown-pragmas -Wno-sign-compare -std=c++14 -pthread -fPIE -DTM_VERSION=$(TM_VERSION) $(CONFIG)
 LIB := -L/usr/local/lib -lz $(LUA_LIBS) -lboost_program_options -lsqlite3 -lboost_filesystem -lboost_system -lboost_iostreams -lprotobuf -lshp
 INC := -I/usr/local/include -isystem ./include -I./src $(LUA_CFLAGS)
@@ -88,6 +90,8 @@ tilemaker: include/osmformat.pb.o include/vector_tile.pb.o src/mbtiles.o src/pbf
 install:
 	install -m 0755 -d $(DESTDIR)$(prefix)/bin/
 	install -m 0755 tilemaker $(DESTDIR)$(prefix)/bin/
+	install -m 0755 -d ${DESTDIR}${MANPREFIX}/man1/
+	install docs/man/tilemaker.1 ${DESTDIR}${MANPREFIX}/man1/
 
 clean:
 	rm -f tilemaker src/*.o include/*.o


=====================================
docs/man/tilemaker.1
=====================================
@@ -0,0 +1,53 @@
+.\" Manpage for tilemaker.
+.TH man 1 "27 Aug 2021" "1.0" "tilemaker man page"
+.SH NAME
+tilemaker \- Generates vector tiles from OpenStreetMap data
+.SH SYNOPSIS
+tilemaker --input input.osm.pbf --output output.mbtiles
+.SH DESCRIPTION
+This manual page documents briefly the
+.B tilemaker
+command.
+.PP
+.B tilemaker
+generates vector tiles without from OpenStreetMap planet and diff
+files without any complex stack or need for database. It uses the schema of
+OpenMapTiles by default, but other configuration can be provided.
+.PP
+This program follows the usual GNU command line syntax, with long
+options starting with two dashes (`-').
+A summary of options is included below:
+.TP
+\fB\-\-input
+Source path and file from OpenStreetMap (.osm.pbf).
+.TP
+\fB\-\-output
+Target path and file for vector tiles (.mbtiles/.sqlite).
+.TP
+\fB\-\-config
+Specific config file (.json).
+.TP
+\fB\-\-process
+Lua processing script for processing tags.
+.TP
+\fB\-\-store
+Path to the directory as a temporary store during processing.
+If specifcied tilemaker uses on-disk storage instead of holding everything
+in RAM.
+.TP
+\fB\-\-merge
+Merge with existing .mbtiles/.sqlite file.
+.TP
+\fB\-\-verbose
+Outputs any issues encountered during tile creation.
+.TP
+\fB\-\-threads
+Number of threads (automatically detected if 0).
+.TP
+\fB\-\-help
+Show help message for tilemaker.
+.PP
+.SH BUGS
+No known bugs.
+.SH AUTHOR
+This manual page was written by tilemaker contributors.



View it on GitLab: https://salsa.debian.org/debian-gis-team/tilemaker/-/compare/efc0847fd7cb2f8b0de6d7fea8ed03751fde0a49...8ae39a0750d710f0a98d0bb7159f9e844eece102

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/tilemaker/-/compare/efc0847fd7cb2f8b0de6d7fea8ed03751fde0a49...8ae39a0750d710f0a98d0bb7159f9e844eece102
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20210827/420e4cb7/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list