Street hint rejecting nearest road

I’ve come address a problem with point hints that has pretty odd behaviour. There is an address between 2 roads (annoyingly with similar names). If I pass in the point hint which is the exact street name of the correct road (below) then it snaps to the wrong road (above). If I move the green marker closer to the bottom road then it does snap to the bottom road but only after getting 100m away from the top road (because of my PR here https://github.com/graphhopper/graphhopper/pull/1935). This leads me to believe that the problem is the matching of the point hint to the name of the street, but as I am passing in the same string that OSM has on the map then I can’t see how it would fail.

https://graphhopper.com/maps/?point=51.015928%2C-114.178462&point=51.017204%2C-114.177808&locale=en-GB&vehicle=car&weighting=fastest&turn_costs=true&use_miles=false&layer=Omniscale&point_hint=Sierra%20Morena%20Close%20SW&point_hint=

Point hint = “Sierra Morena Close SW”

If I remove the SW then it does match correctly. Does GH potentially have a different name for the street?

(Also sorry that the only issues I bring up are annoying point hint edge cases)

Powered by Discourse