macOS
brew install osm2pgroutinglocal Homebrew formula metadata
sudo port install osm2pgroutingMacPorts ports tree · gis/osm2pgrouting/Portfile · 来源: api.github.com
安装
brew install osm2pgroutinglocal Homebrew formula metadata
sudo port install osm2pgroutingMacPorts ports tree · gis/osm2pgrouting/Portfile · 来源: api.github.com
sudo apt install osm2pgroutingDebian stable package indexes · osm2pgrouting · 来源: deb.debian.org
概览
Import OSM data into pgRouting database
历史
osm2pgrouting imports OpenStreetMap road-network data into a PostgreSQL/PostGIS database shaped for pgRouting. It is a specialized bridge between raw OSM XML and graph-routing SQL workflows.
The pgRouting/osm2pgrouting GitHub repository was created on October 30, 2010. Older pgRouting documentation credits Daniel Wendt as the primary original author and describes the project as later hosted on the pgRouting project site.
The tool's documentation and README place it firmly in the pgRouting stack: users prepare PostgreSQL, PostGIS, pgRouting, Boost, Expat, libpqxx, and CMake, then run the importer against an OSM file and an XML mapping configuration.
Its adoption is narrower than osm2pgsql because it targets routing topology rather than general OSM rendering or analysis. Evidence of packaging in Homebrew, Debian, Ubuntu, MacPorts, and FreeBSD ports shows it remains useful as a small import utility around pgRouting.
osm2pgrouting reads an OSM XML file, uses `mapconfig.xml` to select road types and road classes, and creates routing-oriented tables. The older pgRouting documentation emphasizes generated types and classes tables, which can be used to build more sophisticated cost functions.
The package is a classic geospatial adapter: not a database, not a router, and not a renderer, but the glue that creates pgRouting-ready graph tables from OSM source data. Package maintainers care because its dependency stack crosses C++, PostgreSQL client libraries, PostGIS, and pgRouting ABI expectations.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
osm2pgrouting | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/pgRouting/osm2pgrouting
安装元数据
| 软件包键 | brew:osm2pgrouting |
|---|---|
| 版本 | 3.0.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/osm2pgrouting |
| 主页 | https://pgrouting.org/docs/tools/osm2pgrouting.html |
| 仓库 | https://github.com/pgRouting/osm2pgrouting |
| 上游文档 | https://github.com/pgRouting/osm2pgrouting#readme |
| 许可证 | GPL-2.0-or-later |
| 源码归档 | https://github.com/pgRouting/osm2pgrouting/archive/refs/tags/v3.0.0.tar.gz |
| 最后更新 | 2026-06-22T14:05:46-07:00 |
| Pulse | updated |
| 依赖 | boost, libpq, libpqxx, pgrouting, postgis |
| 构建依赖 | cmake |
| macOS 提供的库 | 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 | osm2pgrouting |
| Version Scheme | 0 |
| Revision | 2 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
osm2pgrouting 2.3.8-3
Tool to import OpenStreetMap data into a pgRouting database
https://github.com/pgRouting/osm2pgrouting
sudo apt install osm2pgroutingosm2pgrouting 2.3.8-2build3
Tool to import OpenStreetMap data into a pgRouting database
https://github.com/pgRouting/osm2pgrouting
sudo apt install osm2pgroutingosm2pgrouting
sudo port install osm2pgrouting来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.