Exception: Routing::Parser::NoMatchingMappedPositionFound
- Inherits:
-
StandardError
- Object
- StandardError
- Routing::Parser::NoMatchingMappedPositionFound
- Defined in:
- lib/routing/parser.rb
Overview
This error is thrown by the parsers if a calculated waypoint can’t be matched to one of the initial passed geo points that were routed.
The reason why this is important is that most routing services have a “snap-to-route” algorithm that will manipulate the coordinates of a passed geo point by moving it to the next routeable position. A parser should be able to determine which geo point of the response belongs to which geo point of the request. Otherwise this error will be thrown.