Hello everyone,
I am having trouble developing isochrone based on graphhopper
Some parameters in source isochrone I don’t understand,
Can you explain me these parameters
When I applied I compared it to graphhopper API and the region results received were very different
double limit; if (weightLimit.get() > 0) { limit = weightLimit.get(); shortestPathTree.setWeightLimit(limit + Math.max(limit * 0.14, 2_000)); } else if (distanceLimitInMeter.get() > 0) { limit = distanceLimitInMeter.get(); shortestPathTree.setDistanceLimit(limit + Math.max(limit * 0.14, 2_000)); } else { limit = timeLimitInSeconds.get() * 1000; shortestPathTree.setTimeLimit(limit + Math.max(limit * 0.14, 200_000)); } ArrayList zs = new ArrayList<>(); for (int i = 0; i < nBuckets.get(); i++) { zs.add(limit / (nBuckets.get() - i)); }
How can i understand this line “Math.max(limit * 0.14, 200_000)” ?
what is “200_000”? Why is it that is not another value?
thank you,