Changes between Version 16 and Version 17 of left-right-hand-traffic


Ignore:
Timestamp:
2016-11-14T13:18:02+01:00 (9 years ago)
Author:
Klumbumbus
Comment:

update, see r11247

Legend:

Unmodified
Added
Removed
Modified
  • left-right-hand-traffic

    v16 v17  
    11[[TranslatedPages]]
    22= Left- and right-hand traffic =
    3 JOSM has an internal database of areas with left-hand traffic since version r7193.
     3JOSM has an internal database of areas with left-hand traffic.
    44
    5 The database is used e.g. in the following places:
     5The database is used e.g. at the following places:
    66* The default internal mappaint style (for cycleway lanes and tracks on highways and roundabout icons)
    77* [wiki:Styles/Lane_and_Road_Attributes Lane and Road Attributes] style
    88* [wiki:Styles/Maxspeed Maxspeed] style (for maxspeed:forward and maxspeed:backward)
    9 * For the [wiki:Help/Action/CreateCircle create circle] action, to use the correct way direction, if you create a roundabout (since r8303).
     9* For the [wiki:Help/Action/CreateCircle create circle] action, to use the correct way direction, if you create a roundabout.
    1010* The plugin [https://github.com/JOSM/turnlanes-tagging TurnLanes-tagging]
    1111
    12 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.
     12The file named `left-right-hand-traffic.osm` is stored in your [wiki:Help/Preferences#JOSMpreferencedatacachedirectories JOSM cache folder]. You can open this 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.
    1313
    1414You can use the pseudo classes `:righthandtraffic` for right-hand traffic and `!:righthandtraffic` for left-hand traffic or the eval expression `is_right_hand_traffic()` in your [[Styles/|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. These simplifications are necessary to reduce the size of the database, but it can be refined on request.
    1515
    1616If you notice an error in the database you can create a new ticket by clicking in JOSM menu Help → [[Image(source:trunk/images/bug.png,20px,middle)]] [wiki:Help/Action/ReportBug Report bug].
     17
     18The `left-right-hand-traffic.osm` is generated from the more advanced [wiki:Territories] file.
    1719
    1820Screenshot of the areas with left-hand traffic: