Automic VaultAutomic Vault

brew

osm2pgrouting を Homebrew, apt, MacPorts でインストール

osm2pgrouting のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install osm2pgrouting

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install osm2pgrouting

MacPorts ports tree · gis/osm2pgrouting/Portfile · ソース: api.github.com

Linux

Debian apt確認済み · 92%
sudo apt install osm2pgrouting

Debian stable package indexes · osm2pgrouting · ソース: deb.debian.org

概要

パッケージ概要

Import OSM data into pgRouting database

コマンドとエイリアス

  • osm2pgrouting

履歴

プロジェクトの歴史と使われ方

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.

タイムライン

  • 2010-10-30: the pgRouting/osm2pgrouting repository is created on GitHub.
  • Older pgRouting documentation records Daniel Wendt as the primary original author.
  • Version 3.0.0 release notes discuss schema-level changes such as bigint identifiers and generated identity columns.

Related projects

  • pgRouting supplies the graph algorithms and database extension; PostGIS supplies spatial types and operations; PostgreSQL stores the imported network. osm2pgrouting is one importer in that stack.

セキュリティ状態

リスクレベル: blue

broad file, network, media, or database tool signal.

リスク分類器

リスク blue · 信頼度 中 · tool

理由

  • broad file, network, media, or database tool signal

信号

  • text:database

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。
  • 5 件の実行時依存関係とともにインストールされます。
  • ビルドメタデータには 1 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
osm2pgroutingcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-10
マネージャ版3.0.0
マネージャ更新日2026-06-22
ローカルデータOK
上流最新
検出された最新v3.0.0

https://github.com/pgRouting/osm2pgrouting

  • OK鮮度警告は生成されていません。

インストールメタデータ

パッケージメタデータ

パッケージキー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
Pulseupdated
依存関係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 DatabaseHomebrew formula API
Taphomebrew/core
Full Nameosm2pgrouting
Version Scheme0
Revision2
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Debian apt95%

osm2pgrouting 2.3.8-3

Tool to import OpenStreetMap data into a pgRouting database

https://github.com/pgRouting/osm2pgrouting

sudo apt install osm2pgrouting
  • Section: utils
  • Architecture: amd64
  • 7 依存関係
  • normalized package name match
  • 一致条件: Osm2pgrouting
Debian stable package indexes · deb.debian.org · Debian stable package indexes: osm2pgrouting from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

osm2pgrouting 2.3.8-2build3

Tool to import OpenStreetMap data into a pgRouting database

https://github.com/pgRouting/osm2pgrouting

sudo apt install osm2pgrouting
  • Section: universe/utils
  • Architecture: amd64
  • 7 依存関係
  • normalized package name match
  • 一致条件: Osm2pgrouting
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: osm2pgrouting from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
MacPorts95%

osm2pgrouting

sudo port install osm2pgrouting
  • normalized package name match
  • 一致条件: Osm2pgrouting
MacPorts ports tree · api.github.com · MacPorts ports tree: gis/osm2pgrouting/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

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