Automic VaultAutomic Vault

brew

Install osmfilter with Homebrew

Command-line tool to filter OpenStreetMap files for specific tags. Version 0.9 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install osmfilter

local Homebrew formula metadata

overview

Package summary

Command-line tool to filter OpenStreetMap files for specific tags

Commands and aliases

  • osmconvert
  • osmfilter
  • osmupdate

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 2 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
osmconvertcliglobal executable
osmfiltercliglobal executable
osmupdatecliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version0.9
manager updated
local dataok
upstreamnot checked
latest detectednot detected

https://wiki.openstreetmap.org/wiki/Osmfilter

install metadata

Package metadata

Package keybrew:osmfilter
Version0.9
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/osmfilter
Homepagehttps://wiki.openstreetmap.org/wiki/Osmfilter
Repositoryhttps://gitlab.com/osm-c-tools/osmctools
Upstream docshttps://gitlab.com/osm-c-tools/osmctools
LicenseAGPL-3.0-only
Source archivehttps://gitlab.com/osm-c-tools/osmctools.git
Build dependenciesautoconf, automake
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameosmfilter
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment