macOS
brew install osmfilterlocal Homebrew formula metadata
安装
brew install osmfilterlocal Homebrew formula metadata
概览
Command-line tool to filter OpenStreetMap files for specific tags
历史
osmfilter is one of the small osmctools command-line programs for processing OpenStreetMap data. It filters OSM objects by tags, object type, boolean expressions, and metadata, and it can also strip or modify tags and emit tag statistics.
The public project identity is tied to the osmctools family, whose GitLab project describes a set of simple C tools used in the OpenStreetMap project. The OpenStreetMap wiki positions osmfilter alongside osmconvert and osmupdate, with osmconvert recommended for preparing the fast .o5m input format that osmfilter prefers.
Compared with larger frameworks such as Osmosis or Osmium, osmfilter kept a deliberately narrow Unix-tool shape: a single-purpose executable that reads an OSM file, applies tag and object predicates, and writes a reduced dataset.
The tool circulated through OpenStreetMap-oriented documentation and distribution packaging rather than through a large standalone project. The OpenStreetMap wiki lists Debian osmctools and macOS Homebrew installation paths, while Unix manpage packaging records Markus Weber as the author and documents osmfilter together with osmconvert and osmupdate.
Developers and mappers use osmfilter when they need a quick extraction from a planet or regional extract: roads, waterways, bus-route relations, address-related tags, or statistics about keys and values. The examples in the wiki show its common workflow: convert a PBF/XML source to .o5m, run a keep/drop expression, and write XML or .o5m output for another OSM pipeline stage.
osmfilter is interesting because it represents the compact C-tool branch of the OSM ecosystem. It trades framework breadth for speed, scriptability, and a tiny deployment footprint, making it a useful contrast with Java Osmosis and C++ Osmium.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
osmconvert | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
osmfilter | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
osmupdate | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:osmfilter |
|---|---|
| 版本 | 0.9 |
| 软件包管理器 | Homebrew |
| 主页 | https://wiki.openstreetmap.org/wiki/Osmfilter |
| Bottle | 未记录 |
| 服务 | 未声明 |
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.