返回排行榜

pgRouting/pgrouting

C++pgrouting.org

Repository contains pgRouting library. Development branch is "develop", stable branch is "master"

postgispostgresql-extensionroutingspatial-analysisnetwork-analysisosgeo
Star 增长趋势
Star
1.4k
Forks
393
周增长
Issues
65
5001k
2011年2月2016年3月2021年5月2026年7月
README

pgRouting - Routing on PostgreSQL

Join the chat at
https://gitter.im/pgRouting/pgrouting Join discourse DOI

Branches

  • The main branch has the development of the next micro release
  • The develop branch has the development of the next minor/major release

For the complete list of releases go to: https://github.com/pgRouting/pgrouting/releases

For the release notes go to: https://docs.pgrouting.org/latest/en/release_notes.html

STATUS

Status of the project can be found here

INTRODUCTION

pgRouting extends the PostGIS/PostgreSQL geospatial database to provide geospatial routing and other network analysis functionality.

This library contains the following features:

  • All Pairs Shortest Path Algorithms
  • A-star algorithm
  • Bi-directional algorithms
  • A variety of applications of Dijkstra algorithms
    • Cost functions
    • With points
  • Driving Distance
    • With points
  • Yen's algorithm
  • Traveling Sales Person (TSP)

and many more.

The latest documentation: https://docs.pgrouting.org/latest

REQUIREMENTS

Building requirements

  • perl
  • C and C++ compilers
    • Compiling with Boost 1.56 up to Boost 1.74 requires C++ Compiler with C++03 or C++11 standard support
    • Compiling with Boost 1.75 requires C++ Compiler with C++14 standard support
  • Postgresql = Supported version by PostgreSQL
    • Not supporting v12 & under
  • The Boost Graph Library (BGL) >= 1.56
  • CMake >= 3.12
  • 4.0.0 <= Sphinx < 7.0

User's requirements

  • PostGIS

COMPILATION

For MinGW on Windows

mkdir build
cd build
cmake -G"MSYS Makefiles" ..
make
make install

Also pre-built Windows binaries can be downloaded from https://postgis.net/windows_downloads

For Linux

mkdir build
cd build
cmake  ..
make
sudo make install

Build with documentation (requires Sphinx)

cmake -DWITH_DOC=ON ..

Postgresql

createdb mydatabase
psql mydatabase -c "CREATE EXTENSION pgrouting CASCADE"

USAGE

See online documentation: http://docs.pgrouting.org/latest/en/index.html

CITATION

To cite pgRouting in publications use:

BibTeX entry:

    @Manual{,
      title = {{pgRouting: Routing on PostgreSQL}},
      author = {{pgRouting contributors}},
      year = {2025},
      doi = {10.5281/zenodo.15004469},
      url = {https://pgrouting.org/},
    }

LICENSE

  • Most features are available under GPL-2.0-or-later
  • Some Boost extensions are available under Boost license (see LICENSE_1_0.txt)
  • Some code contributed by iMaptools.com is available under MIT-X license.
相关仓库
supabase/supabase

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

TypeScriptnpmApache License 2.0firebasesupabase
supabase.com
106.8k13.2k
PostgresApp/PostgresApp

The easiest way to get started with PostgreSQL on the Mac

MakefileOtherpostgispostgres
postgresapp.com
7.8k400
maplibre/martin

Blazing fast and lightweight PostGIS, MBtiles and PMtiles tile server, tile generation, and mbtiles tooling.

Rustcrates.ioApache License 2.0rustwebserver
martin.maplibre.org
3.8k378
mevdschee/php-crud-api

Single file PHP script that adds a REST API to a SQL database

PHPPackagistMIT Licenseapi-serverrestful
3.7k1k
CartoDB/cartodb

Location Intelligence & Data Visualization tool

JavaScriptnpmBSD 3-Clause "New" or "Revised" Licensegeolocationgeospatial
carto.com
2.8k653
postgis/postgis

PostGIS spatial database extension to PostgreSQL [mirror]

PLpgSQLGNU General Public License v2.0postgispostgresql
postgis.net
2.2k428
geotools/geotools

Official GeoTools repository

JavaMavenGNU Lesser General Public License v2.1geotoolsjava
geotools.org
1.9k1.2k
geocompx/geocompr

Geocomputation with R: an open source book

ROtherrspatial
r.geocompx.org
1.8k617
osm2pgsql-dev/osm2pgsql

Import OpenStreetMap data into a PostgreSQL/PostGIS database

C++GNU General Public License v2.0postgisnominatim
osm2pgsql.org
1.7k481
postgis/docker-postgis

Docker image for PostGIS

DockerfileMIT Licensepostgisdocker-image
hub.docker.com/r/postgis/postgis/
1.6k493
go-spatial/tegola

Tegola is a Mapbox Vector Tile server written in Go

GoGo ModulesMIT Licensepostgisvector-tiles
tegola.io
1.5k227
tess1o/geopulse

A self-hosted, privacy-first location timeline platform: an open-source alternative to Google Timeline with automatic trip detection, Immich integration, and rich analytics.

JavaMavenOthergps-trackergps-tracking
tess1o.github.io/geopulse/
1.3k51