gravitystorm / openstreetmap-carto

A general-purpose OpenStreetMap mapnik style, in CartoCSS
Other
1.53k stars 820 forks source link

Highways abuttered by boundary=protected_area have poor legibility #4116

Open btwhite92 opened 4 years ago

btwhite92 commented 4 years ago

Expected behavior

Highways should maintain consistent legibility with respect to themselves at each zoom level.

Actual behavior

Highways bounded by boundary=protected_area/leisure=nature_reserve have poor legibility at mid and high zooms: majorroads

This is especially a problem with minor roads - here's an example where one has been made almost entirely illegible: minorroads

Suggested fix

polarbearing commented 4 years ago

In your examples, is the highway "glued" on the boundary, or is it mapped seperately?

btwhite92 commented 4 years ago

In these examples, the boundaries are mapped separately from the road, since the road ROW is not part of the protected area. This is still an issue where boundaries are "glued" to a highway, or where a highway itself is used as part of the boundary relation.

jeisenbe commented 4 years ago

I've tried out this idea (rendering protected_area boundaries under roads) previously, see discussion in PR #3887, though I was not very satisfied by the results in testing.

At high zoom levels, where roads are quite wide, the protected_area rendering would be entirely covered by the road fill.

jeisenbe commented 4 years ago

New PR #4127 has now been updated to move the protected-area line rendering layer below roads, to fix this issue.

matkoniecz commented 4 years ago

Sounds like #1199