[pgrouting-users] pgRouting 2.1.0 C library
Stephen Woodbridge
woodbri at swoodbridge.com
Thu Oct 8 07:24:32 PDT 2015
On 10/8/2015 9:49 AM, Matthias Loeks wrote:
> Hi all,
>
> I've recently read in the changelog for v2.1.0 [1] that there is a new
> "C/C++ library for developers", that "encapsulates pgRouting related
> functions [and] Boost.Graph graphs".
> However, I could not find any details on this library in the docs, but
> I'm curious what exactly this means and what new options may evolve from
> the presence of this library.
>
> For instance, does it allow for using pgRouting functions without a
> database? Can anyone judge if using the C/C++ lib directly would resolve
> the well-known performance issues? I recently dropped pgRouting for a
> "real-world application" where a graph with approx. 7.5 mio edges had to
> be routed, due to bad performance (even with optimising Postgres
> configuration, RAMDISK etc.).
>
> A general explanation of what is the major benefit of the newly created
> library and what can be done with it would help me understand a lot!
Mattias,
Vicky has been working very hard to rationalize the internal code to
pgrouting. Part of this effort has been to rewrite a lot of the code and
to leverage reusable components by placing them in a library. We are not
supporting the library as a public API because it is undergoing lots of
changes as we migrate more of the pgrouting code into this library.
Ideally, at some point in the future it would be nice to make the
library available via a stable API, but that is not funded and it would
be way in the future.
So good things happening internally, mainly to the benefit of the
existing pgrouting code to make it more stable by reusing tested
components. We would be happy if other C++ developers want to help with
this effort or if you were interested in seeing if you can use the
library in some other code.
Vicky might have more to say on this.
-Steve
More information about the Pgrouting-users
mailing list