Thanks Peter :)
Actually, we're not after more alternative routes, but the absolute
shortest.
It's for a theoretical case - in a VRP to minimize absolute road distance.
We'll compare it with a variant, for which we use the default routes and
minimize time distance.
The second variant is the practical case.
On 29-09-14 11:35, Peter wrote:
Hi Geoffrey,
Yes, sure. If you use CH do before the import:
hopper.setCHShortest("shortest")
// on master this is called setCHWeighting
if you use GH without CH you can change this per request
ghRequest.setWeighting("shortest")
What you are after are probably more 'alternative routes', this is not
yet included but will at some point (and in some dev branch if you
need more details)
Kind Regards,
Peter.
On 29.09.2014 11:22, Geoffrey De Smet wrote:
Is it possible to ask GraphHopper to find the absolute shortest path
between 2 locations?
Let's say we want to travel from Paris to Rome.
The sensible road takes highways that go through Lyon, Nice and Milan.
But the shortest road takes the dirt roads that cross the Alpes.
Can I ask GraphHopper for that route?
Wkr,
Geoffrey
_______________________________________________
GraphHopper mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/graphhopper
_______________________________________________
GraphHopper mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/graphhopper
_______________________________________________
GraphHopper mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/graphhopper