# osmfilter を Homebrew でインストール

osmfilter のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:osmfilter
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install osmfilter
```

  証拠: local Homebrew formula metadata

## パッケージ情報

- **パッケージキー:** brew:osmfilter
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/osmfilter>
- **バージョン:** 0.9
- **ソース概要:** Command-line tool to filter OpenStreetMap files for specific tags
- **ホームページ:** <https://wiki.openstreetmap.org/wiki/Osmfilter>
- **上流ドキュメント:** <https://wiki.openstreetmap.org/wiki/Osmfilter>
- **ライセンス:** AGPL-3.0-only
- **ソースアーカイブ:** <https://gitlab.com/osm-c-tools/osmctools.git>
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- osmconvert (cli)
- osmfilter (cli)
- osmupdate (cli)
- osmconvert (エイリアス)
- osmfilter (エイリアス)
- osmupdate (エイリアス)

## ビルド依存関係

- autoconf
- automake

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 0.9
- ローカルデータ: OK
- 上流リポジトリ: https://wiki.openstreetmap.org/wiki/Osmfilter
- 情報: No package-manager update timestamp was available.
- 情報: Release/tag comparison is only available for GitHub repositories.
## プロジェクトの歴史と使われ方

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.

### Related projects

- osmconvert handles format conversion and often prepares .o5m input for osmfilter. osmupdate handles update workflows. Osmium and Osmosis cover overlapping OSM processing tasks with broader architectures.

### ソース

- <https://formulae.brew.sh/formula/osmfilter>
- <https://gitlab.com/osm-c-tools/osmctools>
- <https://manpages.ubuntu.com/manpages/bionic/man1/osmfilter.1.html>
- <https://wiki.openstreetmap.org/wiki/Osmfilter>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** osmfilter
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable


## 関連リンク

- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Networking and protocol packages](https://pkg.so/ja/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Database and data packages](https://pkg.so/ja/database-data-tools/) - Matched database, SQL, migration, or data-store metadata.
- [autoconf](https://pkg.so/ja/brew/autoconf/) - Build dependency declared by Homebrew.
- [automake](https://pkg.so/ja/brew/automake/) - Build dependency declared by Homebrew.
- [osmium-tool](https://pkg.so/ja/brew/osmium-tool/) - Shares pkgdb curated category or tags: cli, data, geospatial, openstreetmap.
- [osmcoastline](https://pkg.so/ja/brew/osmcoastline/) - Shares pkgdb curated category or tags: cli, data, geospatial, openstreetmap.
- [osmosis](https://pkg.so/ja/brew/osmosis/) - Shares pkgdb curated category or tags: cli, data, geospatial, openstreetmap.
- [libgeotiff](https://pkg.so/ja/brew/libgeotiff/) - Shares pkgdb curated category or tags: cli, data, geospatial.
- [postgis](https://pkg.so/ja/brew/postgis/) - Shares pkgdb curated category or tags: cli, data, geospatial.
- [pdal](https://pkg.so/ja/brew/pdal/) - Shares pkgdb curated category or tags: cli, data, geospatial.
- [pmtiles](https://pkg.so/ja/brew/pmtiles/) - Shares pkgdb curated category or tags: cli, data, geospatial.
- [mapnik](https://pkg.so/ja/brew/mapnik/) - Shares pkgdb curated category or tags: cli, data, geospatial.

## Combined YAML source

View the package source record on GitHub. [combined/osmfilter.yml](https://github.com/mxcl/pkgdb/blob/main/combined/osmfilter.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
