1osmpbf-outline(1) General Commands Manual osmpbf-outline(1)
2
3
4
6 osmpbf-outline - outline the content of an .osm.pbf or .osh.pbf file
7
8
10 osmpbf-outline [ --color ] filename
11
12
14 osmpbf-outline generates a colored outline of an .osm.pbf or .osh.pbf
15 file, revealing its inner structure. It does not decode all informa‐
16 tion nor does it check for of possible mistakes, but it will warn on
17 some bad mistakes one can make when generating .osm.pbf files.
18
19 This tool can be used by authors of .osm.pbf readers and writers and is
20 useful to understand the inner blob/block structure of .osm.pbf files.
21
22 Its source code is heavily documented and can be used as a good start‐
23 ing point understanding on how to read and write .osm.pbf files with
24 C++.
25
26
28 -c, --color
29 usually colorization is disabled when writing to a file descriptor
30 that is not a tty (eg. when the output is piped to a file or to a
31 pager like more or less). Some pagers can handle ANSI color code (
32 more can, less can when invoked as less -R ). To enforce coloriza‐
33 tion when working with such pagers, specify the --color flag.
34
35
37 osmpbf-outline germany.osm.pbf
38
39
41 Peter Koerner <peter@mazdermind.de>
42 Jochen Topf <jochen@topf.org>
43
44
45
46
47 LOCAL osmpbf-outline(1)