macOS
brew install osrm-backendlocal Homebrew formula metadata
安装
brew install osrm-backendlocal Homebrew formula metadata
nix profile install nixpkgs#osrm-backendnixpkgs package indexes · pkgs/by-name/os/osrm-backend/package.nix · 来源: api.github.com
概览
High performance routing engine
历史
OSRM Backend is the C++ routing engine behind the Open Source Routing Machine project. It consumes OpenStreetMap road data, preprocesses it into routing graph files, and serves route, nearest, table, match, trip, and tile services over an HTTP API, a C++ interface, and Node.js bindings.
OSRM began as Dennis Luxen's attempt to bring high-performance academic route-planning algorithms to OpenStreetMap data. Wired reported in November 2013 that Luxen started OSRM around 2010 while working as a PhD candidate at Karlsruhe Institute of Technology, after a discussion with OpenStreetMap contributor Frederik Ramm led him to apply his routing research to OSM.
The OpenStreetMap wiki records the initial public release on July 9, 2010, and an ACM GIS 2011 presentation by Dennis Luxen and Christian Vetter. The same history notes later project phases involving Mapbox's Directions team and a period of slower maintenance after Mapbox shifted routing investment toward Valhalla.
OSRM's adoption came from its speed and self-hostability. The official site advertises continental-sized road networks served within milliseconds, while the README documents a Docker-first quick start for turning an OSM extract into a running HTTP routing server.
The OpenStreetMap wiki lists services and applications powered by OSRM, including FOSSGIS routing, Cycle.travel, Maps.Me, Mapbox Directions components, Geofabrik-hosted routing, and commercial hosted OSRM APIs. That makes osrm-backend one of the most visible OSM packages outside the data-processing niche because it sits directly behind user-facing routing applications.
Operators typically download an OSM PBF extract, run `osrm-extract` with a Lua profile such as car, bicycle, or foot, preprocess with the MLD pipeline using `osrm-partition` and `osrm-customize` or the CH pipeline using `osrm-contract`, then run `osrm-routed` to expose the API.
Application developers call OSRM for fastest-route geometry, nearest-road snapping, many-to-many duration or distance tables, noisy GPS trace matching, heuristic trip ordering, and vector tiles containing routing metadata. Profile customization is a key operational feature because it lets a deployment encode vehicle, bicycle, pedestrian, or custom routing rules.
osrm-backend is package-nerd catnip because it is both a research-to-production story and a packaging stress test: modern C++, heavy preprocessing, Lua profiles, Docker images, Node bindings, and a public HTTP API wrapped around graph algorithms such as contraction hierarchies and multi-level Dijkstra.
安全态势
没有找到 osrm-backend 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
osrm-components | cli | 全局可执行文件 | |
osrm-contract | cli | 全局可执行文件 | |
osrm-customize | cli | 全局可执行文件 | |
osrm-datastore | cli | 全局可执行文件 | |
osrm-extract | cli | 全局可执行文件 | |
osrm-io-benchmark | cli | 全局可执行文件 | |
osrm-partition | cli | 全局可执行文件 | |
osrm-routed | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/Project-OSRM/osrm-backend
安装元数据
| 软件包键 | brew:osrm-backend |
|---|---|
| 版本 | 26.7.3 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/osrm-backend |
| 主页 | https://project-osrm.org/ |
| 仓库 | https://github.com/Project-OSRM/osrm-backend |
| 上游文档 | https://github.com/Project-OSRM/osrm-backend#readme |
| 许可证 | BSD-2-Clause |
| 源码归档 | https://github.com/Project-OSRM/osrm-backend/archive/refs/tags/v26.7.3.tar.gz |
| 最后更新 | 2026-07-10T07:04:28Z |
| Pulse | updated |
| 依赖 | boost, libarchive, lua, tbb |
| 构建依赖 | cmake, flatbuffers, fmt, libosmium, pkgconf, protozero, rapidjson, sol2, vtzero |
| macOS 提供的库 | bzip2, expat |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | osrm-backend |
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
osrm-backend
nix profile install nixpkgs#osrm-backend来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.