notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photos
All times are UTC
Ukraine
Port details on branch 2026Q2
osm2pgrouting Import OSM data into pgRouting database
3.0.0_1 converters on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 3.0.0_1Version of this port present on the latest quarterly branch.
Maintainer: lbartoletti@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2026-04-14 12:06:11
Last Update: 2026-04-14 12:02:41
Commit Hash: 44916f8
Also Listed In: databases geography
License: GPLv2
WWW:
https://pgrouting.org/docs/tools/osm2pgrouting.html
Description:
osm2pgrouting tool makes it easy to import OpenStreetMap data and use it with pgRouting. It creates topology automatically and creates tables for feature types and road classes. Features: * Uses XML configuration file to select road types and classes to import. * Creates types and classes tables, which can help to create sophisticated cost functions.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (11 items)
Collapse this list.
  1. /usr/local/share/licenses/osm2pgrouting-3.0.0_1/catalog.mk
  2. /usr/local/share/licenses/osm2pgrouting-3.0.0_1/LICENSE
  3. /usr/local/share/licenses/osm2pgrouting-3.0.0_1/GPLv2
  4. bin/osm2pgrouting
  5. @sample etc/osm2pgrouting/mapconfig.xml.sample
  6. @sample etc/osm2pgrouting/mapconfig_for_bicycles.xml.sample
  7. @sample etc/osm2pgrouting/mapconfig_for_cars.xml.sample
  8. @sample etc/osm2pgrouting/mapconfig_for_pedestrian.xml.sample
  9. @owner
  10. @group
  11. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • osm2pgrouting>0:converters/osm2pgrouting
To install the port:
cd /usr/ports/converters/osm2pgrouting/ && make install clean
To add the package, run one of these commands:
  • pkg install converters/osm2pgrouting
  • pkg install osm2pgrouting
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: osm2pgrouting
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1762492886 SHA256 (pgRouting-osm2pgrouting-v3.0.0_GH0.tar.gz) = 3d3042aa0dd30930d27801c9833ebfbe16eba0ab0e5d6277636ce17b157f2a0f SIZE (pgRouting-osm2pgrouting-v3.0.0_GH0.tar.gz) = 186420

No package information for this port in our database
Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link: pkg-fallout
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. cmake : devel/cmake-core
  2. ninja : devel/ninja
Library dependencies:
  1. libboost_program_options.so : devel/boost-libs
  2. libexpat.so : textproc/expat2
  3. libpqxx.so : databases/postgresql-libpqxx
  4. libpq.so : databases/postgresql18-client
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for osm2pgrouting-3.0.0_1: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings
Options name:
converters_osm2pgrouting
USES:
cmake compiler:c++20-lang
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/pgRouting/osm2pgrouting/tar.gz/v3.0.0?dummy=/
Collapse this list.

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
3.0.0_1
14 Apr 2026 12:02:41
commit hash: 44916f86f434d8631b8859dd9c4e6c605517678dcommit hash: 44916f86f434d8631b8859dd9c4e6c605517678dcommit hash: 44916f86f434d8631b8859dd9c4e6c605517678dcommit hash: 44916f86f434d8631b8859dd9c4e6c605517678d files touched by this commit
Robert Clausecker (fuz) search for other commits by this committer
converters/osm2pgrouting: fix build with recent libpqxx

Recent versions of libpqxx require C++20 to be used.
Adjust the requested C++ standard in CMakeLists.txt.

Approved by:	portmgr (build fix blanket)
MFH:		2026Q2

(cherry picked from commit 7bfaddbcafafd8fc1d5649d75f64af46b4a095e3)

Number of commits found: 1