maptool(1)

✨ NAME ✨

maptool β€” parse osm textfile and convert to Navit binfile format πŸ’…

(also known as maptool(1), from the USER COMMANDS section, and yes bestie she is that girl)


🌸 SYNOPSIS 🌸

For OSM XML data:

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>]

For OSM Protobuf/PBF data:

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>]

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so. maptool parses an osm textfile and converts it to Navit binfile format. that's it, that's the whole job, and she does it flawlessly. ✨


πŸ’– OPTIONS πŸ’–

  • -h (--help) β€” display a short help message 🫢
  • -6 (--64bit) β€” set zip 64 bit compression
  • -a (--attr-debug-level) <level> β€” control which data is included in the debug attribute πŸ”
  • -c (--dump-coordinates) β€” dump coordinates after phase 1
  • -d (--db) <connect string> β€” get osm data out of a postgresql database with osm simple scheme and given connect string πŸ—„οΈ
  • -D (--dump) β€” dump map data to standard output in Navit textfile format. If this option is specified, the output file parameter must be omitted πŸ‘‘
  • -e (--end) <phase> β€” end at specified phase
  • -E (--experimental) β€” enable experimental features (if available) πŸ™ˆ
  • -i (--input-file) <file> β€” specify the input file name (OSM), overrules default stdin
  • -k (--keep-tmpfiles) β€” do not delete tmp files after processing. useful to reuse them πŸ’Ύ
  • -M (--o5m) β€” input data is in o5m format
  • -n (--ignore-unknown) β€” do not output ways and nodes with unknown type
  • -N (--nodes-only) β€” process only nodes ⭐
  • -P (--protobuf) β€” input data is in pbf (Protocol Buffer) format
  • -r (--rule-file) <file> β€” read mapping rules from specified file πŸ“œ
  • -s (--start) <phase> β€” start at specified phase
  • -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. 🧠
  • -t (--timestamp) <y-m-dTh:m:s> β€” set zip timestamp ⏰
  • -w (--dedupe-ways) β€” ensure no duplicate ways or nodes. useful when using several input files 🧹
  • -W (--ways-only) β€” process only ways
  • -U (--unknown-country) β€” add objects with unknown country to index
  • -x (--index-size) β€” set maximum country index size in bytes
  • -z (--compression-level) <level> β€” set the compression level πŸ—œοΈ

πŸ’€ BUGS πŸ’€

Should you find one, please report it :

http://trac.navit-project.org

(not me manifesting bugs bestie, but if you find one, TELL THEM 😭)


πŸ‘‘ AUTHOR πŸ‘‘

The navit Team - http://www.navit-project.org


🌈 SEE ALSO 🌈

navit(1)


k that's the whole page, you ate that fr fr πŸ’…βœ¨

cute little sign-off from your girl: this page is maptool(1), revision $Revision$, dated $Date$, and it lives in section 1 of the manual. bye bestie, go convert some maps πŸ¦‹πŸŽ€πŸ“