Skip to content
Repository contains pgRouting library. Development branch is "develop", stable branch is "master"
C++ PLpgSQL TSQL C SQLPL Standard ML Other
Branch: master
Clone or download

Latest commit

cvvergara Merge pull request #1344 from pgRouting/dkastl-patch-2
Delete PULL_REQUEST_TEMPLATE.md
Latest commit 017483b Feb 18, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/workflows Merge branch 'master' into dkastl-patch-2 Feb 18, 2020
.tx [locale] updating to latest locale slugs Sep 7, 2019
ci Upgrade to latest versions of these Oct 28, 2019
cmake fixing typos Nov 5, 2019
doc Add contributor in doc Jan 15, 2020
docqueries fixing #1309 adding a test Nov 30, 2019
doxygen [alphaShape] detecting unused files Nov 30, 2019
include Close #1338 Jan 20, 2020
locale Merge branch 'master' into translations_pgr-tspeuclidean-po--master_ja Jan 21, 2020
pgtap Merge branch 'master' into fix/pgr_nodeNetwork Jan 20, 2020
sql Fix pgr_nodeNetwork Jan 14, 2020
src Close #1338 Jan 20, 2020
tools Close #1338 Jan 20, 2020
.editorconfig Using GH actions Jan 20, 2020
.gitignore [build] insted of definitions, adding a configured header file Jul 30, 2019
.travis.yml [build] (travis changed) updating travis CI process Feb 18, 2020
BOOST_LICENSE_1_0.txt trunk replaced with 1.0RC1 Oct 2, 2007
CMakeLists.txt [alphaShape] simplifying code after detecting used files Nov 30, 2019
CODE_OF_CONDUCT.md fix typo Aug 7, 2017
CONTRIBUTING.md Fix 'contirbution' typo, replace with 'contribution' Dec 9, 2016
LICENSE moving the license to the LICENSE file Apr 26, 2017
NEWS [build] adding 2.6.3 files for updating Sep 5, 2019
README.md Add files via upload Oct 5, 2019
appveyor.yml [doc][queries] renaming program that generates the documentation queries Jul 24, 2019
configuration.conf [doc] Enable documentation build for bellman_ford in configuration.conf Aug 15, 2019
requirements.txt [travis] using xenial Mar 13, 2019

README.md

pgRouting - Routing on PostgreSQL

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

STATUS

Branches

  • The master branch has the latest release
  • The develop branch has the development of the next release

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

LINKS

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: http://docs.pgrouting.org/latest

REQUIREMENTS

Building requirements

  • Perl
  • C and C++ compilers
    • GNU >= 4.8
    • MSVC >= 18.0
  • Postgresql >= 9.4
  • The Boost Graph Library (BGL) >= 1.53
  • CMake >= 3.2
  • Sphinx >= 1.2

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 9.3+

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

USAGE

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

LICENSE

  • Most features are available under GPLv2.
  • 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.
You can’t perform that action at this time.