[pgrouting-dev] Library using plpython

Stephen Woodbridge woodbri at swoodbridge.com
Sat Feb 11 11:15:16 EST 2012


On 2/11/2012 10:44 AM, Steve Horn wrote:
> Was wondering if there has been any thought to creating a branch of
> pgrouting that implements the routing algorithms using python or another
> higher level programming language?
>
> Are there reasons for needing to stick with a C/C++ implementation?

Hi Steve,

This is a good question.

 From a pgRouting perspective, unless you want to implement the 
algorithm in pl* languages, you really have to use C/C++ to implement 
server extensions. And given the potential amount of data that needs to 
be accessed and temporary data managed, this is the option for performance.

 From a pure can it be implemented in Python, there are no constraints.
   https://www.google.com/#q=dijkstra+python
shows some possible implementations.

-Steve W


More information about the pgrouting-dev mailing list