I built the routableDb for the whole "North America", and loaded all routableDb into the memory, most of the time, it works awesome, the time of calculating route can be less than 1 seconds, but when the starting point or ending point is in a big city which has huge roads, it takes almost 2 seconds sometimes. On average, it should be 1.5 seconds around. I debug into the code and see the real route calculation is really fast, but take a bit long time to snapping the route points to the nearest road. For example, it takes around 400 ms for one "resolve". Anyway to improve the performance?
Hello,
I built the routableDb for the whole "North America", and loaded all routableDb into the memory, most of the time, it works awesome, the time of calculating route can be less than 1 seconds, but when the starting point or ending point is in a big city which has huge roads, it takes almost 2 seconds sometimes. On average, it should be 1.5 seconds around. I debug into the code and see the real route calculation is really fast, but take a bit long time to snapping the route points to the nearest road. For example, it takes around 400 ms for one "resolve". Anyway to improve the performance?
Thanks, Johnny