-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Description
An edge case at node https://www.openstreetmap.org/node/3569284626 for bearings computation in coordinate_extractor.ExtractRepresentativeCoordinate

The issue is due to representative_coordinate of the orange edge 29 that goes to the left side in 40 meters from the intersection node

Here initial bearing (red line with 29) of the edge is 228.29 degrees, while perceived bearing is 108.98 degrees, that corresponds to a left turn from edge the 31 to 29
Other cases
http://map.project-osrm.org/?z=18¢er=52.439672%2C10.783977&loc=52.439452%2C10.783768&loc=52.439881%2C10.784036&hl=en&alt=0
http://map.project-osrm.org/?z=18¢er=48.313366%2C10.851064&loc=48.313209%2C10.851048&loc=48.313505%2C10.850946&hl=en&alt=0
http://map.project-osrm.org/?z=18¢er=52.531424%2C13.378295&loc=52.531222%2C13.378499&loc=52.531613%2C13.378054&hl=en&alt=0
http://map.project-osrm.org/?z=18¢er=51.997429%2C8.604103&loc=51.997380%2C8.604435&loc=51.997479%2C8.603802&hl=en&alt=0