Test new routing provider (alpha routing should work with java for quite long distance). Maps needs to be updated (new regeneration 22 Jan
This commit is contained in:
parent
4b9697f104
commit
99261472db
2 changed files with 4 additions and 3 deletions
|
@ -184,8 +184,9 @@ public class OsmMapUtils {
|
|||
}
|
||||
if (cycle) {
|
||||
result.add(n.get(first));
|
||||
kept[first] = true;
|
||||
}
|
||||
kept[first] = true;
|
||||
|
||||
return kept;
|
||||
}
|
||||
|
||||
|
|
|
@ -421,8 +421,8 @@ public class RouteProvider {
|
|||
memoryLimit, specialization);
|
||||
RoutingContext ctx = router.buildRoutingContext(cf, params.ctx.getInternalAPI().getNativeLibrary(), files,
|
||||
// TODO introduce
|
||||
/*params.mode.isDerivedRoutingFrom(ApplicationMode.CAR) ?
|
||||
RouteCalculationMode.COMPLEX : */RouteCalculationMode.NORMAL);
|
||||
params.mode.isDerivedRoutingFrom(ApplicationMode.CAR) ?
|
||||
RouteCalculationMode.COMPLEX : RouteCalculationMode.NORMAL);
|
||||
ctx.calculationProgress = params.calculationProgress;
|
||||
if(params.previousToRecalculate != null) {
|
||||
ctx.previouslyCalculatedRoute = params.previousToRecalculate.getOriginalRoute();
|
||||
|
|
Loading…
Reference in a new issue