6

I have two point layers, X layer and Y layer, with nearest node on a road network calculated for each.

I wish to calculate the shortest path from X nearest node to Y nearest node. I do not want matching shortest distance X-Y pairs and wish to specify that X nearest node is the start point with Y nearest node (shortest distance) being end point to calculate the distance between them?

Are there multi-multi pgrouting functions which enable user to specify such?

1 Answer 1

0

There are 2 new "cost-matrix" functions in the latest pgRouting release, which are currently marked as "proposed" but supposed to be stable: http://docs.pgrouting.org/latest/en/src/costMatrix/doc/costMatrix.html#costmatrix

Not sure this was, what you are looking for.

1
  • So i want to be able to specify the start_vids and end_vids from differing tables using their nearest_nodes (obtained from road_network). No luck so far with costmatrix.
    – Columbo25
    Dec 7, 2016 at 13:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.