Changes between Version 4 and Version 5 of left-right-hand-traffic
- Timestamp:
- 2014-10-05T21:18:00+02:00 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
left-right-hand-traffic
v4 v5 1 [[TranslatedPages]] 1 2 = Left- and right-hand traffic = 2 3 JOSM has an internal database of areas with left-hand traffic. This was added in r7193. This is used in some [[Styles/|Styles]] for correct display. Examples are the default internal mappaint style (for cycleway lanes and tracks on highways) or [[Styles/Maxspeed]] (for maxspeed:forward and maxspeed:backward). … … 4 5 You can download the data [http://josm.openstreetmap.de/browser/josm/trunk/data/left-right-hand-traffic.osm here] (click on ''Original format'' on the bottom of the page) and load the file in JOSM to investigate the borders. The areas in the file describe the areas with left-hand traffic. All other areas use right-hand traffic. 5 6 6 You can use the pseudo classes `:righthandtraffic` for right-hand traffic and `!:righthandtraffic` for left-hand traffic in your mapcss stylesheet. See [[Help/Styles/MapCSSImplementation]] for more information. Note that you maybe get wrong results near to borders of countries with different driving directions since the area borders of left-hand traffic are simplified in JOSM.7 You can use the pseudo classes `:righthandtraffic` for right-hand traffic and `!:righthandtraffic` for left-hand traffic in your mapcss mappaint style. See [[Help/Styles/MapCSSImplementation]] for more information. Note that you maybe get wrong results near to borders of countries with different driving directions since the area borders of left-hand traffic are simplified in JOSM. 7 8 8 9 Screenshot of the areas with left-hand traffic:
