New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KDjikstra compile fails #66
Comments
Hi, The deprecated function comes from edge_visitors.hpp, MAYBE you can replace #include...graph/detail/is_same.hpp by #include...type_traits/is_same.hpp You were right adding ${PGROUTING_SOURCE_DIR}/extra/KDijkstra and ${PGROUTING_SOURCE_DIR}/extra/KDijkstra/src to the function SET(PGROUTING_INCLUDE_DIRECTORIES ; Please tell me if it works so I add the install instructions I forgot! |
thanks for getting back to me. I didn't do that (should have looked Karl On 8/21/2012 3:28 AM, HSylvio wrote:
|
Anyone tried using KDijkstra since? |
Sorry, I meant to get back sooner -- The compile was successful with the added config settings. Except that The functions worked, but we have not tested yet whether the speed will On 9/10/2012 5:37 AM, HSylvio wrote:
|
I've just started using KDijkstra and the performance is off-the-charts. I was wondering, though, is it possible to also implement a manyto1 function? I'd like to know the paths from X to a set of nodes and compare it with the paths from that set of nodes to X. |
Dear emeeks, first, if you use the example SQL in your call, the function will use "length::double precision as cost" thus no restrictions are applied. As a matter of fact, in my current db to_cost is always NULL and reverse_cost == length (is it normal?!?), Cheers |
Hi there, |
https://github.com/HSylvio/pgrouting This is a one to many shortest path solution. |
Moved this into 2.0 Milestone. If not appropriate just move to ie. 2.1 |
Now merged into 2.0. closing. |
I'm trying to add KDijkstra to my pgRouting install (which works and works well by the way, thanks).
The instructions say simply "extract the contents of this in your /extra directory and add KDijkstra in its CMakeLists.txt."
KDijkstra already appears in /extra/CMakeList.txt. I run cmake without errors, make (4 deprecated header errors) and sudo make install (the writing is going to a folder owned by root).
I get successful install of librouting.so and the 4 basic sql files -- nothing about KDijkstra.
I tried adding to the root CMakeLists.txt
${PGROUTING_SOURCE_DIR}/extra/Kdijkstra ${PGROUTING_SOURCE_DIR}/extra/Kdijkstra/src
but the result is the same
I can't install functions in routing_tomany.sql of course because there's no library librouting_ktargets available.
Any ideas?
tia
Karl
The text was updated successfully, but these errors were encountered: