readosm
« Back to VersTracker
Description:
Extract valid data from an Open Street Map input file
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: geospatial openstreetmap parsing library c
Install: brew install readosm
About:
Readosm is a C library designed to extract and parse valid data from Open Street Map (OSM) XML files. It provides a lightweight and efficient way to access core OSM elements like nodes, ways, and relations without the overhead of full database imports. Its primary value is enabling developers to integrate OSM data into custom applications with minimal dependencies.
Key Features:
  • Lightweight C library for low-level OSM parsing
  • Supports standard OSM XML and PBF formats
  • Provides a simple callback-based API for data extraction
  • No external database dependencies required
Use Cases:
  • Building custom OSM data processing tools
  • Importing specific OSM subsets into applications
  • Performing lightweight geospatial analysis on OSM data
Alternatives:
  • osmium-tool – Osmium is a more comprehensive command-line tool and library, while readosm focuses on being a minimal C library.
  • libosmium – Libosmium is a modern C++ library offering more features and performance, whereas readosm is a simpler C-based solution.
Version History
Detected Version Rev Change Commit
Sep 11, 2025 8:29am 0 VERSION_BUMP 6f747ca6