ExAws. Location. Routes. IsolineMatchingOptions
(ex_aws_location v0.1.0)
Copy Markdown
Controls how origin and destination points are matched to the road network when they don't fall exactly on a road. Matching options help ensure realistic routing by connecting points to appropriate roads.
Fields
:name_hint- The expected street name near the point. Helps disambiguate matching when multiple roads are within range.:on_road_threshold- The maximum distance in meters that a point can be from a road while still being considered "on" that road. Points further than this distance require explicit matching.:radius- The maximum distance in meters to search for roads to match to. Points with no roads within this radius will fail to match. The roads that are considered within this radius are determined by the specifiedStrategy:strategy- Determines how points are matched to the road network.MatchAnyfinds the nearest viable road segment, whileMatchMostSignificantRoadprioritizes major roads. Valid values:MatchAny,MatchMostSignificantRoad.
See https://docs.aws.amazon.com/location/latest/APIReference/API_IsolineMatchingOptions.html