-
Notifications
You must be signed in to change notification settings - Fork 44
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 path with bicycle=designated almost as a cycleway and segregated as a cycleway #184
Conversation
…and with a mixed pedestrian blue color
Here is the fix I think Phyks@5f29c76. |
By the way, could you post before/after pictures (or the URL used, so I can go and check the before on cyclosm.org easily)? Thanks! |
Fix use white color for oneway arrow with path.
Are you sure on the last example? in my opinion higway=footway bicycle=designated segregated=yes Mixed cycleways and footway should be tagged as paths. Is it specified in some wiki that maybe I miss? |
@Dardy87 I agree with you it is bad tagging. |
We should remove also special rendering with highway=footway/bridelway and bicycle=designated, it's bad tagging also and we should not promote bad tagging. |
…ging. Still keep footway and bridleway as path if bicycle=yes.
|
} | ||
[highway='cycleway'] { | ||
[highway='cycleway'], | ||
[highway='path'] { |
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.
It might be better to have an is_primary_bike
value exported in the SQL output and filter on this one. This one, we could also account for some bicycle=designated
cases or roads without motor traffic.
Might also be better in terms of Mapnik XML file size / etc.
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.
is_primary_bike for what tags combination ?
ELSE 'no' | ||
END AS segregated, | ||
CASE | ||
WHEN tags->'oneway:bicycle' IN ('yes', '-1') THEN 'yes' |
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.
THEN tags->'oneway:bicycle'
to keep the direction, or we will never need it?
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.
I don't understand the question.
ELSE 'no' | ||
END AS segregated, | ||
CASE | ||
WHEN tags->'oneway:bicycle' IN ('yes', '-1') THEN 'yes' |
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.
THEN tags->'oneway:bicycle'
to keep the direction, or we will never need it?
ELSE 'no' | ||
END AS segregated, | ||
CASE | ||
WHEN tags->'oneway:bicycle' IN ('yes', '-1') THEN 'yes' |
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.
THEN tags->'oneway:bicycle'
to keep the direction, or we will never need it?
@@ -1987,8 +2023,7 @@ Layer: | |||
ELSE 'no' | |||
END AS oneway, | |||
CASE | |||
WHEN tags->'oneway:bicycle'='no' THEN 'no' | |||
WHEN tags->'oneway:bicycle'='yes' THEN 'yes' | |||
WHEN tags->'oneway:bicycle' IN ('yes', '-1') THEN 'yes' |
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.
THEN tags->'oneway:bicycle'
to keep the direction, or we will never need it?
line-width: @rdz17_cycle; | ||
[oneway='no'] { line-width: @rdz17_cycle*1.5; } | ||
[oneway='no'][oneway_bicycle='no'] |
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.
We should probably try to avoid this double check here. I should review the exact tags we need, but probably we could fill in the oneway_bicycle
value with the oneway
value by default, therefore having:
oneway
which would be the general traffic onewayoneway_bicycle
which would be the real oneway status for bikes
line-width: @rdz12_path; | ||
} | ||
[type='cycleway'] { | ||
[type='cycleway'], | ||
[type='path'][designated='yes'] { |
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.
We have designated, segregated and other tags exported. Not sure but we could probably factor them together. :/
I read 0.32% of footways have also
I read 3.3% of bridleways have also |
Indeed, I missed the fact that we could get stats on |
Nice ! Many useful path have been enhanced, thank you |
link to #143 (but not completed yet, segregated must be done also)
Can't be able to fix the oneway arrow not rendered issue on path with oneway:bicycle=yes