summaryrefslogtreecommitdiff
path: root/man/maptool.1
blob: 8705f648e0fe3027638c2789fd83a1cf35de7ca8 (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
87
88
89
90
91
92
93
94
95
96
.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] [\-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] [\-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
\-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
\-D (\-\-dump)
dump map data to standard output in Navit textfile format
If this option is specified, the output file parameter must be omitted.
.TP
\-e (\-\-end) <phase>
end at specified phase
.TP
\-E (\-\-experimental)
enable experimental features (if available)
.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
\-M (\-\-o5m)
input data is in o5m format
.TP
\-n (\-\-ignore-unknown)
do not output ways and nodes with unknown type
.TP
\-N (\-\-nodes-only)
process only nodes
.TP
\-P (\-\-protobuf)
input data is in pbf (Protocol Buffer) format
.TP
\-r (\-\-rule-file) <file>
read mapping rules from specified file
.TP
\-s (\-\-start) <phase>
start at specified phase
.TP
\-S (\-\-slice-size) <phrase>
limit memory to use for some large internal buffers, in bytes. Default is 1 GB.
Smaller slices reduce peak memory usage, at the cost of increased processing time.
.TP
\-t (\-\-timestamp) <y-m-dTh:m:s>
set zip timestamp
.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
\-x (\-\-index-size)
set maximum country index size in bytes
.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)