Alternative Routing Algorithm not retrieving all routes between two points

Hi All,

Testing alternative routes using Graphhopper 2.0 latest release.
Drawn multiple custom routes between two points in singapore near changi from (1.3507678, 103.961269) to 1.3471661, 103.9718394.
found only 3 routes between these two points.


Actually plotted more routes

calling local graphhopper service as below
http://localhost:8989/maps/?point=1.353223%2C103.965139&point=1.347166%2C103.971839&locale=en-GB&elevation=false&profile=car&algorithm=alternative_route&alternative_route.max_paths=20&alternative_route.max_share_factor=1&ch.disable=true&use_miles=false&layer=Omniscale&alternative_route.max_weight_factor=1.6

our requirement is to get all multiple routes between two point, kindly help on this issue.

Appreciate your help

run following command to run graphhopper locally

  1. graphhopper.sh build
  2. java -Ddw.graphhopper.datareader.file=Route_ChangiV4.osm.pbf -jar web/target/graphhopper-web-2.0-SNAPSHOT.jar server config-example.yml

source code with all required file you can download from google drive
https://drive.google.com/uc?id=1LBiZ3hkCr2GT4IOKCbktQ72eUifdEtRI&export=download

Please let me know if any information required

Thanks & Regards,
Raghu

More routes plotted in osm file but graphhopper alternative algorithm not detecting all.

Appreciate your help

This is similar to: Fetch all alternatives path using Djikstra

Powered by Discourse