detecting if an egde is reverse compared to osm