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

Car Profile: Handling of highway=primary/secondary/… + construction!=yes #4462

Closed
Nakaner opened this issue Aug 31, 2017 · 7 comments
Closed

Comments

@Nakaner
Copy link

Nakaner commented Aug 31, 2017

While testing the osrm-components and comparing the output of different profiles, I found a routing error which is strange to my understanding as an experienced mapper.

This issue is related to #4230.

amorbach

The primary road B 47 eastwards between the two roundabouts is flagged as border. It took some time to discover why it was flagged: The western roundabout is tagged highway=primary + construction=primary. This is a left-over of the time when it was build (according to note=* tags in that area in May 2014).

While Daniel's pull request improved the handling of highway=primary/secondary/… + construction=yes, it broke the handling of these partially broken tagging like this roundabout in Amorbach.

The number of highway=primary/secondary/… + construction=yes will decline in the next months because Geofabrik will add two additional layers to the OpenStreetMap Inspector which highlight misleading tagging (highway/railway/shop/amenity=<under operation> + construction=yes) in a few days. As a side effect, they will also mark construction!=no with highway!=construction.

Used OSRM version: 5.9.2, OSM data less than 3 days old

@Nakaner Nakaner changed the title Car Profile: Handling of highway=primary/secondary/… + construction!=no Car Profile: Handling of highway=primary/secondary/… + construction!=yes Aug 31, 2017
@emiltin
Copy link
Contributor

emiltin commented Aug 31, 2017

I think what you're describing is a mapping error, or do you propose any change to the code?

@Nakaner
Copy link
Author

Nakaner commented Aug 31, 2017

It is a mapping error but construction=yes + highway=primary is also a mapping error but supported by the car profile (it treats it as construction). I propose either a change to the code or a "won't fix" statement.

@daniel-j-h
Copy link
Member

We discard construction ways (except: no, widening, minor) in the default profile on purpose to incentivize proper tagging. Feel free to disable the construction tag handling in your own profile modifications.

Note: the same applies to the proposed tag.

@maraf24
Copy link

maraf24 commented May 29, 2020

We discard construction ways (except: no, widening, minor) in the default profile on purpose to incentivize proper tagging.

This doesn't really work. There are thousand of roads with construction= leftovers in osm data and OSRM doesn't route through them today.
Fixing this is non-ending work, as people are generally unaware of the problem and the most popular editor, iD, is main culprit here.

@danpat
Copy link
Member

danpat commented May 29, 2020

You can toggle this off in the car profile here:

https://github.com/Project-OSRM/osrm-backend/blob/master/profiles/car.lua#L136

comment out that line, and construction=yes will get ignored. It's probably worth making that the default....

@maraf24
Copy link

maraf24 commented May 29, 2020

This will also allow routing via highway=construction, if I correctly understand code in way_handlers.lua.

@danpat
Copy link
Member

danpat commented May 29, 2020

Yes, it will - but similar to construction=yes, I've found that the majority of those are stale too.

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

5 participants