OSMIUM-SHOW(1) | OSMIUM-SHOW(1) |
osmium-show - show OSM file
osmium show [OPTIONS] OSM-FILE
Show the contents of the OSM-FILE on STDOUT, usually in a pager. The output format can be set using the output-format/-f option, its shortcuts -d (debug format with colors), -o (OPL), or -x (XML), or the OSMIUM_SHOW_FORMAT environment variable.
The pager can be set with the OSMIUM_PAGER or the PAGER environment variable. If neither is set, the default less is used unless the option --no-pager is used. If the pager variables are set to an empty value or to cat, no pager is used. On Windows there is no pager support at all.
This commands reads its input file only once, ie. it can read from STDIN.
osmium show exits with exit code
osmium show does all its work on the fly and doesn’t keep much data in main memory.
Show an OSM file using the default pager and default format:
osmium show norway.osm.pbf
Use more as a pager and only show relations:
OSMIUM_PAGER=more osmium show -t r norway.osm.pbf
Show using XML format:
osmium show -x norway.osm.pbf
Copyright (C) 2013-2023 Jochen Topf <jochen@topf.org>.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
If you have any questions or want to report a bug, please go to https://osmcode.org/contact.html
Jochen Topf <jochen@topf.org>.
1.15.0 |