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 is1 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 π
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 π¦ππ
π¦ where this page comes from
- debian bookworm: maptool 0.5.6+dfsg.1-2 Β· GPL-2.0-only
- debian trixie: maptool 0.5.6+dfsg.1-4 Β· GPL-2.0-only
- ubuntu jammy: maptool 0.5.6+dfsg.1-1 Β· GPL-2.0-only
- ubuntu noble: maptool 0.5.6+dfsg.1-2build4 Β· GPL-2.0-only
- ubuntu questing: maptool 0.5.6+dfsg.1-4build1
- ubuntu resolute: maptool 0.5.6+dfsg.1-5build2 Β· GPL-2.0-only
- ubuntu stonking: maptool 0.5.6+dfsg.1-5build2 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms