DennisOSRM/Project-OSRM — Issue #150: Strange things happening around only_straight_on restrictions
Author: risicle
Created: 2012-02-25 19:54:02+00:00
State: open

Hi,

I'm having good results feeding tens of thousands of tiny routing requests to OSRM, but of course in doing so I'm bound to find some hiccups. I've been having problems getting strange routes and total_times back from OSRM, which of course screws up the algorithm I'm trying to design on top of the routing.

I did notice however that in all the places I was getting these odd results, there was an only_straight_on restriction on one of the relevant ways. In some places, the router seems to think it's impossible to get from one segment of a way to the next (and we're not talking about way-way junctions, this is within one way), taking a 500m route when the two points are ~15m apart. In other places, the router ignores the only_straight_on restriction entirely, taking an illegal route and returning a total_distance of 10 and a total_time of 1s (where the actual route it's chosen is more like 300m).

The 3 places I'm noticing it are in London, the relation centered around node 449387170, on way 1884029 and around way 4223965 (this one's harder to pinpoint). (But then again, who knows if said objects will still exist by the time you read this?)

I'm using OSRM revision b210b22975. You'll probably need me to be more specific about exact data snapshot versions - suffice to say it happens in the greater_london.osm.pbf from geofabrik from a few weeks ago, but I'll need a little more time for more specifics.