Why is it Needed?

The localRoadsLoadFactor addresses a rare scenario where the routing engine could have calculated a shorter route. This could happen due to the current functionality of the routing engine that loads minor roads in memory only at the time of the calculation.

In such cases, you can use the localRoadsLoadFactor parameter to optimize the results by entering a higher value for this parameter and load more minor roads for calculation.

The number of minor roads loaded in memory is directly proportional to the value of localRoadsLoadFactor parameter. This means that a bigger value (3, for example) signifies more minor roads will be loaded in memory which may result in a more optimized route.

Note: Despite using the localRoadsLoadFactor with higher value, you may or may not achieve a better route or matrix. This parameter only loads more minor roads and therefore increases the probability of a better calculation.
Table 1. Impact of smaller and bigger values
When localRoadsLoadFactor is 1 When localRoadsLoadFactor is 3
Note: As the comparison above depicts the density of minor roads loaded in memory based on the respective values of localRoadsLoadFactor.