# Installer osmfilter avec Homebrew

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de osmfilter pour les workflows d'agents IA.

## installation

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

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install osmfilter
```

  Preuve: local Homebrew formula metadata

## Faits du paquet

- **Clé du paquet:** brew:osmfilter
- **Gestionnaire de paquets:** Homebrew
- **Version:** 0.9
- **Résumé source:** Command-line tool to filter OpenStreetMap files for specific tags
- **Page d'accueil:** <https://wiki.openstreetmap.org/wiki/Osmfilter>
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- osmconvert (alias)
- osmfilter (alias)
- osmupdate (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 0.9
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Sources

- <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>


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- narrow executable package without higher-risk signals


## Combined YAML source

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


## Sources

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