Modify ↓
#22134 closed defect (fixed)
[PATCH] Incorrect mappaint on roundabouts when used with cycleway=shared_lane
Reported by: | gaben | Owned by: | team |
---|---|---|---|
Priority: | minor | Milestone: | 23.11 |
Component: | Internal mappaint style | Version: | |
Keywords: | shared_lane roundabout | Cc: | Klumbumbus |
Description
cycleway=shared_lane
painting on roundabouts is inaccurate because roundabouts are oneway by default and JOSM paints shared_lane
markings on both sides.
URL:https://josm.openstreetmap.de/svn/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2022-06-09 19:22:55 +0200 (Thu, 09 Jun 2022) Build-Date:2022-06-10 01:30:55 Revision:18485 Relative:URL: ^/trunk
Attachments (0)
Change History (8)
comment:1 by , 19 months ago
comment:2 by , 17 months ago
Rendering should be similar to cycleway:<left|right>=shared_lane
depending on the country (direction of the roundabout).
What do you think?
comment:3 by , 17 months ago
Milestone: | → 23.08 |
---|---|
Summary: | Incorrect mappaint on roundabouts when used with cycleway=shared_lane → [PATCH] Incorrect mappaint on roundabouts when used with cycleway=shared_lane |
This would probably "fix" the problem:
-
resources/styles/standard/elemstyles.mapcss
diff --git a/resources/styles/standard/elemstyles.mapcss b/resources/styles/standard/elemstyles.mapcss
a b 1042 1042 } 1043 1043 1044 1044 /* prepare shared_lane */ 1045 way[oneway?][cycleway=shared_lane]:righthandtraffic::core_cycleway { 1045 way[oneway?][cycleway=shared_lane]:righthandtraffic::core_cycleway, 1046 way[!oneway][cycleway=shared_lane][junction=roundabout]:righthandtraffic::core_cycleway { 1046 1047 set shared_laneRight; 1047 1048 set righthandtr; 1048 1049 } … … 1050 1051 set shared_laneLeft; 1051 1052 set righthandtr; 1052 1053 } 1053 way[oneway?][cycleway=shared_lane]!.righthandtr::core_cycleway { 1054 way[oneway?][cycleway=shared_lane]!.righthandtr::core_cycleway, 1055 way[!oneway][cycleway=shared_lane][junction=roundabout]!.righthandtr::core_cycleway { 1054 1056 set shared_laneLeft; 1055 1057 } 1056 1058 way[oneway=-1][cycleway=shared_lane]!.righthandtr::core_cycleway { … … 1063 1065 set shared_laneRight; 1064 1066 } 1065 1067 way[oneway=no][cycleway=shared_lane]::core_cycleway, 1066 way[!oneway][ cycleway=shared_lane]::core_cycleway,1068 way[!oneway][junction!=roundabout][cycleway=shared_lane]::core_cycleway, 1067 1069 way[oneway?][oneway:bicycle=no][cycleway=shared_lane]::core_cycleway, 1068 1070 way[cycleway:both=shared_lane]::core_cycleway { 1069 1071 set shared_laneLeft;
I honestly don't know if that is the best solution though.
comment:4 by , 17 months ago
Cc: | added |
---|
Note:
See TracTickets
for help on using tickets.
Or is it an issue?