Impact on Boundary Calculations

In some cases, user finds circular boundaries due to the presence of a restricted arc near the points.

During boundary calculation, if the closest road segment is restricted, then the boundary is calculated using the maxOffRoadDistance parameter. With the new improvements to the algorithm, if the road segment closest to the point is restricted, then that segment is avoided, and the boundary is calculated with open segments.

The following snapshots depict the situation before and after the snapping logic implementation.

Point: -77.523203, 38.803707 Cost: 5 minutes
Table 1. Comparing Boundaries
Before After
Point: -3.0681250, 55.8612868 Cost: 5 minutes
Table 2. Comparing Boundaries
Before After