osmium
Multipurpose tool for handling OpenStreetMap (OSM) files. More information: https://osmcode.org/osmium-tool/manual.
- Show file information:
osmium fileinfo
- Display contents:
osmium show
- Convert file format from PBF into XML:
osmium cat
- Extract a geographic region by the given [b]ounding box:
osmium extract ,,,
- Extract a geographic region by a GeoJSON file:
osmium extract
- Filter all objects tagged as "restaurant":
osmium tags-filter amenity=restaurant
- Filter for "way" objects tagged as "highway":
osmium tags-filter w/highway
- Filter "way" and "relation" objects tagged as "building":
osmium tags-filter wr/building
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
