.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] [\-5 ] [\-6] [\-a ] [\-c] -[\-d ] [\-i ] [\-k] [\-M] [\-N] [\-o] [\-r ] [\-s ] [\-S ] [\-w] [\-W] [\-U] [\-z ] .B For OSM Protobuf/PBF data: .B maptool \-\-protobuf \-i planet.osm.pbf planet.bin [\-h] [\-5 ] [\-6] [\-a ] [\-c] [\-e ] [\-i ] [\-k] [\-M] [\-N] [\-o] [\-P] [\-r ] [\-s ] [\-S ] [\-w] [\-W] [\-U] [\-z ] .SH DESCRIPTION maptool parses osm textfile and converts it to Navit binfile format .SH OPTIONS .TP \-h (\-\-help) display a short help message .TP \-4 (\-\-md5) set file where to write md5 sum .TP \-6 (\-\-64bit) set zip 64 bit compression .TP \-a (\-\-attr-debug-level) control which data is included in the debug attribute .TP \-c (\-\-dump-coordinates) dump coordinates after phase 1 .TP \-d (\-\-db) get osm data out of a postgresql database with osm simple scheme and given connect string .TP \-e (\-\-end) end at specified phase .TP \-i (\-\-input-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_coverage, 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) read mapping rules from specified file .TP \-s (\-\-start) start at specified phase .TP \-S (\-\-slice-size) 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 \-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) 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)