Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

maptool(1) [debian man page]

maptool(1)							   USER COMMANDS							maptool(1)

NAME
maptool - parse osm textfile and convert to Navit binfile format SYNOPSIS
For OSM XML data: 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>] For OSM Protobuf/PBF data: maptool --pro- tobuf -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>] DESCRIPTION
maptool parses osm textfile and converts it to Navit binfile format OPTIONS
-h (--help) display a short help message -2 (--dowai2poi) convert ways and polygons to POIs when applicable -4 (--md5) set file where to write md5 sum -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 -e (--end) <phase> end at specified phase -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 -N (--nodes-only) process only nodes -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 -P (--protobuf) input file is protobuf -r (--rule-file) <file> read mapping rules from specified file -s (--start) <phase> start at specified phase -S (--slice-size) <phrase> defines the amount of memory to use, in bytes. Default is 1GB -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 -z (--compression-level) <level> set the compression level BUGS
Should you find one, please report it : http://trac.navit-project.org AUTHOR
The navit Team - http://www.navit-project.org SEE ALSO
navit(1) $Revision$ $Date$ maptool(1)

Check Out this Related Man Page

OSMJS(1)						      General Commands Manual							  OSMJS(1)

NAME
osmjs - Javascript interpreter for the Osmium framework SYNOPSIS
osmjs [options] osmfile [args] DESCRIPTION
This manual page documents briefly the osmjs command. osmjs is an Osmium based framework for handling OSM data by calling Javascript callbacks for each object in an OSM data file. This gives you the flexibility of Javascript together with speed of the C++ Osmium framework and the Google V8 Javascript JIT compiler. osmfile can be an OSM XML (suffix .osm) (optionally packed with bz2 or gz) or PBF (suffix .osm.pbf) file. In single-pass mode it can also be '-' to read a PBF file from stdin. OPTIONS
This program follows the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included below. -h, --help Show summary of options. -d, --debug Enable debugging output. -i FILE, --include=FILE Include Javascript file (can be given several times) -j FILE, --javascript=FILE Process given Javascript file -l STORE, --location-store=STORE Set location store (default: 'none'). See below for a list of available stores. -r, --no-repair Do not attempt to repair broken multipolygons -2, --2pass Read osmfile twice -m, --multipolygon Build multipolygons (implies -2) STORES
none Do not store node locations (you will have no way or polygon geometries) array Store node locations in large array (use for large OSM files) disk Store node locations on disk (use when low on memory) sparsetable Store node locations in sparse table (use for small OSM files) AUTHOR
Osmium was written by Jochen Topf <jochen@topf.org>. This manual page was written by David Paleino <dapal@debian.org>, for the Debian project (and may be used by others). November 14, 2011 OSMJS(1)
Man Page