Skip to content

Commit

Permalink
Added man page.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.openstreetmap.org/applications/rendering/gosmore@16184 b9d5c4c9-76e1-0310-9c85-f3177eceb1e4
  • Loading branch information
nic committed Jun 27, 2009
1 parent 71811bf commit f1f0847
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Makefile
Expand Up @@ -7,6 +7,7 @@ VERSION = 0.0.0.$(TODAY)
DESTDIR=
prefix = /usr/local
bindir = $(prefix)/bin
datarootdir = $(prefix)/share

CFLAGS=-O2 -DRES_DIR=\"$(prefix)/share/gosmore/\"
WARNFLAGS= -W -Wall
Expand Down Expand Up @@ -108,8 +109,10 @@ zip:
install: gosmore
mkdir -p $(DESTDIR)$(bindir)
cp gosmore $(DESTDIR)$(bindir)/.
mkdir -p $(DESTDIR)$(prefix)/share/gosmore
cp -a elemstyles.xml icons.csv icons.xpm $(DESTDIR)$(prefix)/share/gosmore
mkdir -p $(DESTDIR)$(datarootdir)/gosmore
cp -a elemstyles.xml icons.csv icons.xpm $(DESTDIR)$(datarootdir)/gosmore
mkdir -p $(DESTDIR)$(datarootdir)/man/man1
gzip <gosmore.1 >$(DESTDIR)$(datarootdir)/man/man1/gosmore.1.gz

dist:
mkdir gosmore-$(VERSION)
Expand Down
54 changes: 54 additions & 0 deletions gosmore.1
@@ -0,0 +1,54 @@
.TH GOSMORE 1 "27 June 2009"

.SH NAME
gosmore \- Viewer for OpenStreetMap data, with routing and searching

.SH SYNONPSIS
\fBgosmore\fP [\fBrebuild\fR [minlatitude minlongitude maxlat maxlong]

QUERY_STRING="flat=...&flon=...&tlat=...&tlon=...&fast=[01]&v=..." gosmore

.SH DESCRIPTION
\fBgosmore\fR is a GTK+ application for viewing OpenStreetMap data. It can
calculate the fastest route between two points. It can also has incremental
search capability and the results are ordered by distance from the current
viewpoint.

See the wiki page for details on two pass bounding box rebuilding.

Note that the binary file format is not yet stable and rebuilding is
recommended after upgrading.

.SH FILES
.TP
.I /usr/share/gosmore/elemstyles.xml ~/.gosmore/elemstyles.xml
.RS
This file determines how each OSM element is rendered and how it affects
routing. A list of valid icons cans be found in /usr/share/gosmore/icons.csv
.RE
.I gosmore.pak
.RS
The binary data created during rebuild
.RE

.SH ENVIRONMENT
.TP
\fBQUERY_STRING\fR If this variable is set, gosmore will try to compute the
specified route, output the result and then exit (ie. headless query).

.SH EXAMPLE
.TP
wget http://download.cloudmade.com/europe/denmark/denmark.osm.bz2
.TP
bzcat denmark.osm.bz2 | gosmore rebuild
.TP
gosmore

.SH SEE ALSO
\fBJOSM\fR, \fBgpds\fR \fBnav-it\fR

http://wiki.openstreetmap.org/wiki/Gosmore

.SH AUTHOR
\fBNic Roets <nroets@gmail.com>\fR with contributions from David Dean and
many others.

0 comments on commit f1f0847

Please sign in to comment.