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

Discards construction and proposed ways, resolves #4230 #4258

Merged
merged 1 commit into from
Jul 10, 2017
Merged

Conversation

daniel-j-h
Copy link
Member

For #4230: discards highway=construction, highway=proposed, construction=, proposed=.

http://wiki.openstreetmap.org/wiki/Key:construction
http://wiki.openstreetmap.org/wiki/Key:proposed
http://wiki.openstreetmap.org/wiki/Key:highway

I see no reason we ever want to route over these tags. Please correct me if I'm wrong or if there are any edge cases I haven't thought of. Better to be safe than sorry here.

cc @emiltin @1ec5

@daniel-j-h daniel-j-h added this to the 5.9.0 milestone Jul 8, 2017
@emiltin
Copy link
Contributor

emiltin commented Jul 8, 2017

only thing i can think of is construction=no... is that a thing?

| primary | | | x |
| construction | | | |
| proposed | | | |
| primary | primary | | |
Copy link
Contributor

@emiltin emiltin Jul 9, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

construction=primary is unorthodox. usually it's construction=yes

@1ec5
Copy link
Member

1ec5 commented Jul 9, 2017

only thing i can think of is construction=no... is that a thing?

Yes, there are a couple tags like construction=widening and construction=no where the road remains passable, but they occur at a much lower rate than construction=yes.

Copy link
Member

@TheMarex TheMarex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you also update the taginfo.json file? Please cherry-pick to the 5.9 branch after the merge.

@daniel-j-h daniel-j-h merged commit 6a555a4 into master Jul 10, 2017
@daniel-j-h daniel-j-h deleted the fix/4230 branch July 10, 2017 08:37
@daniel-j-h
Copy link
Member Author

Added negative tags and taginfo items. Cherry-picked into 5.9 branch.

lliehu added a commit to lliehu/cbf-routing-profiles that referenced this pull request Jun 24, 2023
Routing on proposed ways was blacklisted only for car profile.
This adds the same blacklisting also for foot and bike profiles.

It looks like this behavior was added in
Project-OSRM/osrm-backend#4258 and then
accidentally reverted when pull request with title "profiles api v2"
at Project-OSRM/osrm-backend#4072 was merged.
This commit restores the original change for bike and foot profiles.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants