← Back to home
Comparison · DevOps

libosmium vs OSRM

A side-by-side editorial comparison of libosmium and OSRM — release velocity, themes, recent moves, and the top alternatives to consider.

Shared themes:openstreetmap

libosmium vs OSRM: at a glance

FeaturelibosmiumOSRM
SectorDevOpsDevOps
Velocity score0.02.5
Sparks · 30d00
Top themesopenstreetmap, cpp-library, pbf-parsing, dependency-removalrouting, cpp20-migration, build-tooling, openstreetmap
Last editorial update2h ago3h ago
WebsiteVisit →Visit →

What is libosmium?

libosmium is a stable OSM parsing library whose main work now is shedding old dependencies

libosmium ships roughly once or twice a year and the release notes read accordingly: a handful of additions, a longer list of fixes, and a steady drumbeat of code cleanups. Recent cycles have been dominated by removing things — Google Sparsehash, the ancient Proj projection support, regex filters, and a series of long-deprecated classes. The library's core job of reading and writing OSM data has been stable long enough that most fixes now cluster around compression edge cases and PBF parsing tolerance.

Read the full libosmium trajectory →

What is OSRM?

A routing engine spending its release budget on the toolchain, not the router

OSRM ships frequently — nine releases in three months — but the changelogs are commit lists dominated by dependency bumps, CI plumbing, and a systematic C++20 concepts migration replacing legacy SFINAE patterns. Genuine routing changes are rare and small: an access=unknown reclassification in the car profile, a laterite surface type, a contractor self-loop correction. Several releases exist only to fix the Docker release workflow.

Read the full OSRM trajectory →

libosmium vs OSRM: editorial side-by-side

L
libosmium
DEVOPS
0.0

libosmium is a stable OSM parsing library whose main work now is shedding old dependencies

◆ Current state

libosmium ships roughly once or twice a year and the release notes read accordingly: a handful of additions, a longer list of fixes, and a steady drumbeat of code cleanups. Recent cycles have been dominated by removing things — Google Sparsehash, the ancient Proj projection support, regex filters, and a series of long-deprecated classes. The library's core job of reading and writing OSM data has been stable long enough that most fixes now cluster around compression edge cases and PBF parsing tolerance.

◆ Where it's heading

The direction is consolidation rather than expansion. C++14 became the floor in 2.21.0, CMake 3.10 in 2.23.0, and each release trims another external dependency or workaround for an obsolete compiler. What new surface does appear is narrow and pragmatic: one spare bit in a Location, a TagList comparison, a UTF-8 validity helper — small affordances for downstream tools like osmium-tool and osm2pgsql rather than new capability. The 2.23.1 revert is a useful signal that the maintainers treat diff and extract-update correctness as the property they will not trade for tidier ordering.

◆ Prediction

Expect the deprecation-removal pattern to continue, with RapidJSON support the most likely next casualty given it was marked deprecated back in 2.19.0. Nothing in the entries suggests a change in scope; the next release will most plausibly be another small additions-plus-fixes cycle.

O
OSRM
DEVOPS
2.5

A routing engine spending its release budget on the toolchain, not the router

◆ Current state

OSRM ships frequently — nine releases in three months — but the changelogs are commit lists dominated by dependency bumps, CI plumbing, and a systematic C++20 concepts migration replacing legacy SFINAE patterns. Genuine routing changes are rare and small: an access=unknown reclassification in the car profile, a laterite surface type, a contractor self-loop correction. Several releases exist only to fix the Docker release workflow.

◆ Where it's heading

This is a codebase being modernized rather than extended. The SFINAE-to-concepts sweep across partitioner, extractor, and util, the Alpine-to-Debian Docker base swap, and the move to Ubuntu 26.04 with clang-format-22 all point at reducing maintenance drag on an engine whose routing semantics are already settled. New surface area is arriving at the edges — ARM Linux bindings, an --output option on the preprocessing tools.

◆ Prediction

The concepts migration looks close to complete, so expect the remaining refactor releases to taper and profile-level corrections to become the main visible change.

Alternatives to libosmium and OSRM

Other DevOps products tracked by Sparkpulse, ranked by recent ship velocity. Each card links to a full editorial trajectory and lets you pivot into a head-to-head comparison with either libosmium or OSRM.

See all libosmium alternatives → · See all OSRM alternatives →

Recent activity from libosmium and OSRM

Latest ship moves from both products, interleaved chronologically. ⚡ = editorial spark.

  1. 9d agoOSRMCar profile now treats access=unknown as restricted
  2. 1mo agoOSRMARM Linux bindings and an --output option for the preprocessing tools
  3. 1mo agoOSRM26.7.2 removes a stale CMake reference
  4. 1mo agoOSRM26.7.1 repairs missing CI permissions
  5. 1mo agoOSRMC++20 concepts migration lands across partitioner, extractor and util
  6. 2mo agoOSRMDocker base image moves from Alpine to Debian
  7. 4mo agolibosmiumlibosmium 2.23.1 reverts an object-ordering change that broke extracts
  8. 6mo agolibosmiumlibosmium 2.23.0 fixes PBF and bzip2 edge cases, raises CMake floor
  9. 1y agolibosmiumlibosmium 2.22.0 handles 64-bit relation IDs, drops regex filters
  10. 1y agolibosmiumlibosmium 2.21.0 requires C++14, drops Sparsehash and Proj
  11. 2y agolibosmiumlibosmium 2.20.0 accepts fractional-second timestamps
  12. 3y agolibosmiumlibosmium 2.19.0 removes BoolVector and NWRIdSet, deprecates RapidJSON

Frequently asked questions

What is the difference between libosmium and OSRM?

Both compete on the same themes — openstreetmap — within DevOps. OSRM is currently shipping more aggressively (velocity 2.5 vs 0.0), with 0 editorial sparks in the last 30 days against 0. See the at-a-glance table above for a side-by-side breakdown of velocity, recent sparks, and editorial themes.

Is libosmium better than OSRM?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. OSRM is currently shipping more aggressively (velocity 2.5 vs 0.0), with 0 editorial sparks in the last 30 days against 0. For your specific use case, the alternatives sections above list other DevOps products to evaluate alongside.

What are the best alternatives to libosmium?

Top libosmium alternatives in DevOps are ranked by recent ship velocity. Browse the "libosmium alternatives" section above for the current picks, or visit /alternatives/libosmium for the full list with editorial commentary on each.

What are the best alternatives to OSRM?

Top OSRM alternatives in DevOps are ranked by recent ship velocity. Browse the "OSRM alternatives" section above for the current picks, or visit /alternatives/osrm for the full list with editorial commentary on each.