I tried to use the shortest weighting but I’m receiving this error.
No weighting found for request {weighting=shortest, instructions=false}, encoder:car, {fastest|car=prepare|CH|dijkstrabi, fastest|bike=prepare|CH|dijkstrabi, fastest|foot=prepare|CH|dijkstrabi}
Maybe this have to do in importing my area together with the settings.
How can i activate the shortest weighting? thanks.
My project is 3months old and I want to update to use shortest and fastest,
I almost forgot what settings i should use in using route for bike,walk,car.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] GraphHopper Parent Project … SUCCESS [ 0.774 s]
[INFO] GraphHopper Tools LGPL licensed … SUCCESS [02:39 min]
[INFO] GraphHopper … FAILURE [03:14 min]
[INFO] GraphHopper Tools … SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 05:55 min
[INFO] Finished at: 2016-01-30T21:01:22+08:00
[INFO] Final Memory: 16M/160M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project graphhopper: Could not resolve depende ncies for project com.graphhopper:graphhopper:jar:0.7-SNAPSHOT: Could not transf er artifact org.slf4j:slf4j-api:jar:1.7.13 from/to central (https://repo.maven.apache.org/maven2): Connection reset → [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyReso lutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :graphhopper
Me too.
I’m trying to create custom weighting on android device.
But I met the problem -
{An error happened while retrieving maps: Configured graph.ch.weightings:[shortest|car] is not equal to loaded [fastest|car]}
is any one know how to solve this problem?