-
Notifications
You must be signed in to change notification settings - Fork 819
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
Render implied oneways (roundabout, motorway, motorway_link) #1363
Conversation
@@ -420,7 +420,10 @@ Layer: | |||
CASE WHEN service IN ('parking_aisle', 'drive-through', 'driveway') THEN 'INT-minor'::text | |||
ELSE 'INT-normal'::text | |||
END AS service, | |||
CASE WHEN oneway IN ('yes', '-1') THEN oneway ELSE NULL END AS oneway, | |||
CASE WHEN oneway IN ('yes', '-1') THEN oneway |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if turning this into a multi-line CASE then have each WHEN on its own line
List of tags is consistent with https://github.com/openstreetmap/iD/blob/master/js/id/core/oneway_tags.js and not contradicted by wiki http://wiki.openstreetmap.org/wiki/Key:oneway#Implied_oneway_restriction |
But is contradicted by http://wiki.openstreetmap.org/wiki/Tag:highway%3Dmotorway_link#Tagging_oneway "Most motorway_link roads will be one way, and should be tagged oneway=yes. Any unusual motorway link road which is two-way should be explicitly tagged oneway=no.". Added in http://wiki.openstreetmap.org/w/index.php?title=Tag:highway%3Dmotorway_link&diff=929508&oldid=917617 |
This seems to requiere always a oneway=* tag (either “yes” or “no” or “-1”). But for me, this sentence seems to make no assert on the default value. On the other side, the ValueDescription box on the wiki page lists oneway=yes in the section “Implies”. How should we proceed? |
2015-03-12 14:44 GMT+01:00 Lukas Sommer notifications@github.com:
IMHO there is no such implication for oneway=yes. Have a look at actual |
98% of the motorways and 99% of the motorway links have a oneway tag. So I don't think adding implicit oneway=yes arrows is useful here. 27% of the roundabouts has a oneway tag. In this case, adding the arrows might be useful. |
Okay. I propose to close this PR and open a new PR only for roundabouts. What should I do with the indent for the “END AS oneway,” line? |
Closing in favor of #1367 |
Some tags imply oneway=yes. This PR renders them as if oneway=yes would be present. (Condition: There is no oneway=no present.)
junction=roundabout
highway=motorway
highway=motorway_link
This resolves #467
Are there any other tags that imply oneway=yes?