summaryrefslogtreecommitdiff
path: root/man/maptool.1
blob: 9d873b34a92ad545a775bc5c786c6fd9fe243894 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
.TH maptool 1  "$Date$" "$Revision$" "USER COMMANDS"
.SH NAME
maptool \- parse osm textfile and convert to Navit binfile format
.SH SYNOPSIS
.B For OSM XML data:
.B bzcat planet.osm.bz2 | maptool mymap.bin
[-h] [-2] [-5 <file>] [-6] [-a <level>] [-c] -[-d <connect string] 
[-e <phase>] [-i <file>] [-k] [-M] [-N] [-o] [-r <file>] [-s <phase>]
[-S <size>] [-w] [-W] [-U] [-z <level>]
.B For OSM Protobuf/PBF data:
.B maptool --protobuf -i planet.osm.pbf planet.bin
[-h] [-2] [-5 <file>] [-6] [-a <level>] [-c] [-e <phase>] 
[-i <file>] [-k] [-M] [-N] [-o] [-P] [-r <file>] [-s <phase>]
[-S <size>] [-w] [-W] [-U] [-z <level>]
.SH DESCRIPTION
maptool parses osm textfile and converts it to Navit binfile format
.SH OPTIONS
.TP
\-h (\-\-help)
display a short help message
.TP
\-2 (\-\-dowai2poi)
convert ways and polygons to POIs when applicable
.TP
\-4 (\-\-md5)
set file where to write md5 sum
.TP
\-6 (-\-64bit)
set zip 64 bit compression
.TP
\-a (\-\-attr-debug-level) <level>
control which data is included in the debug attribute
.TP
\-c (\-\-dump-coordinates)
dump coordinates after phase 1
.TP
\-d (\-\-db) <connect string>
get osm data out of a postgresql database with osm simple scheme and given connect string
.TP
\-e (\-\-end) <phase>
end at specified phase
.TP
\-i (\-\-input-file) <file>
specify the input file name (OSM), overrules default stdin
.TP
\-k (\-\-keep-tmpfiles)
do not delete tmp files after processing. useful to reuse them
.TP
\-N (\-\-nodes-only)
process only nodes
.TP
\-o (\-\-coverage)
converts every street to street_converage, resulting in a big fat black line. 
You can overlay this map with another vector map or image map, and every street 
you will still see is missing in the -o map
.TP
\-P (\-\-protobuf)
input file is protobuf
.TP
\-r (\-\-rule-file) <file>
read mapping rules from specified file
.TP
\-s (\-\-start) <phase>
start at specified phase
.TP
\-S (\-\-slice-size) <phrase>
defines the amount of memory to use, in bytes. Default is 1GB
.TP
\-w (\-\-dedupe-ways)
ensure no duplicate ways or nodes. useful when using several input files
.TP
\-W (\-\-ways-only)
process only ways
.TP
\-U (\-\-unknown-country)
add objects with unknown country to index
.TP
\-z (\-\-compression-level) <level>
set the compression level
.SH BUGS
Should you find one, please report it :
 http://trac.navit-project.org
.SH AUTHOR
The navit Team - http://www.navit-project.org
.SH SEE ALSO
navit(1)