Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ComplexRoundabout returns incorrect instructions. #658

Open
vladlemberg opened this issue Jul 30, 2020 · 2 comments
Open

ComplexRoundabout returns incorrect instructions. #658

vladlemberg opened this issue Jul 30, 2020 · 2 comments

Comments

@vladlemberg
Copy link
Contributor

ComplexRoundabout is not properly handling following combination: junction=roundabout + oneway=no. (data issue)
Example:
WayID
Screen Shot 2020-07-30 at 7 48 26 AM
MalformedRoundabout Check returns following instructions:
1.This roundabout is malformed. 2. This roundabout does not form a single, one-way, complete, car navigable route.
Problem occurs here:
if (this.roundaboutEdgeSet.stream()
.anyMatch(roundaboutEdge -> !HighwayTag.isCarNavigableHighway(roundaboutEdge)
|| !roundaboutEdge.isMasterEdge())
|| !this.roundaboutRoute.start().inEdges().contains(this.roundaboutRoute.end()))
Possible fix options:
Option1 - filter MaterEdge in SimpleEdgeWalker
Option2 - filter MaterEdge in building a Route fromNonArrangedEdgeSet.

@Bentleysb
Copy link
Contributor

I am happy to be corrected, but it is my understanding that a roundabout should only every be one way in OSM. I would suggest that this feature is correctly flagged by MalformedRoundaboutCheck for not being one way, and that it is even more correctly flagged by RoundaboutValanceCheck with the instruction "This roundabout should be a turning loop or turning circle."

@vladlemberg
Copy link
Contributor Author

vladlemberg commented Jul 30, 2020

Hi Bentley, thanks for your comment! This particular case of mistagging roundabout will be flagged in two checks:

  1. RoundaboutValanceCheck
  2. MalformedRoundaboutCheck: as part of migration OSMOSE4020. currently its under validation. planning to submit a PR next week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants