Changes between Initial Version and Version 1 of Presets/FranceRoads


Ignore:
Timestamp:
2021-06-05T18:04:18+02:00 (5 years ago)
Author:
whatismoss
Comment:

Initial Release.

Legend:

Unmodified
Added
Removed
Modified
  • Presets/FranceRoads

    v1 v1  
     1This preset can make editing roads in France easier.
     2
     3== Features ==
     4
     5- One-click presets to tag maxspeed zones and living streets.
     6- Easy-to-use interfaces for editing Departmental, Communal, Metropolitan and National roads, as well as proposed roads (projects).
     7- Full English and French language support.
     8- More to come...
     9
     10== Changelog ==
     11June 6th 2021 [v0.1]: Initial Release.
     12
     13== Preset's Code ==
     14{{{
     15#!preset
     16<?xml version="1.0" encoding="UTF-8"?>
     17<presets xmlns="http://josm.openstreetmap.de/tagging-preset-1.0"
     18        author="whatismoss"
     19        version="0.[[revision]]_[[date]]"
     20        description="Presets for tagging roads in France"
     21        fr.description="Préréglages pour tagger les routes en France"
     22        icon="fr.png">
     23       
     24        <group name="FranceRoads" fr.name="FranceRoads" icon="fr.png">
     25       
     26                <group name="Roads" fr.name="Routes" icon="road.png">
     27               
     28                        <item name="Departemental road" fr.name="Route départementale" type="way,closedway" icon="dep.png">
     29                       
     30                                <label text="Attributes of a departemental road" fr.text="Attributs d'une route départementale" />
     31                                <combo key="highway" text="Type of the road" fr.text="Type de la route" values="tertiary,secondary,primary,trunk" display_values="Tertiary,Secondary,Primary,Expressway" fr.display_values="Tertiaire,Secondaire,Primaire,Voie rapide" />
     32                                <text key="ref" text="Reference of the road." fr.text="Référence de la route." alternative_autocomplete_keys="D 6, D 39, D 950, D 1043, D 6c, D 40e, D845a, D 2952b, D 8e1, D 39e4, D 161e2, D 1925e3" match_expression="ref:D "/>
     33                                <combo key="maxspeed" text="Max Speed" fr.text="Vitesse Limite" values="20,30,40,45,50,60,70,80,90,110" display_values="20,30,40,45,50 (Default urban),60,70,80 (Default rural),90,110 (Expressway only)" fr.display_values="20,30,40,45,50 (Par défaut en agglo.),60,70,80 (Par défaut hors agglo.),90,110 (Voie rapide seulement)"/>
     34                                <label text="Warning! The default rural max speed on departemental roads is 90 instead of 80 for the following departements : Cantal, Corrèze, Creuse, Allier." fr.text="Attention ! La vitesse limite par défaut sur les routes départementales est de 90 au lieu de 80 dans les départements suivants : Cantal, Corrèze, Creuse, Allier." />
     35
     36                                <link text="More information on the wiki" fr.text="Plus d'informations sur le wiki" href="https://wiki.openstreetmap.org/wiki/FR:Cartographie_des_routes_en_France#Routes_d.C3.A9partementales_et_m.C3.A9tropolitaines"/>
     37                        </item>
     38                        <item name="National road" fr.name="Route nationale" type="way,closedway" icon="nat.png">
     39                       
     40                                <label text="Attributes of a national road" fr.text="Attributs d'une route nationale" />
     41                                <combo key="highway" text="Type of the road" fr.text="Type de la route" values="primary,trunk" display_values="Primary,Expressway" fr.display_values="Primaire,Voie rapide" />
     42                                <text key="ref" text="Reference of the road." fr.text="Référence de la route." alternative_autocomplete_keys="N 7, N 25, N 227" match_expression="ref:N "/>
     43                                <combo key="maxspeed" text="Max Speed" fr.text="Vitesse Limite" values="30,40,45,50,60,70,80,90,110" display_values="30,40,45,50 (Default urban),60,70,80 (Default rural),90,110 (Expressway only)" fr.display_values="30,40,45,50 (Par défaut en agglo.),60,70,80 (Par défaut hors agglo.),90,110 (Voie rapide seulement)"/>
     44
     45                                <link text="More information on the wiki" fr.text="Plus d'informations sur le wiki" href="https://wiki.openstreetmap.org/wiki/FR:Cartographie_des_routes_en_France#Routes_nationales_et_inter-r.C3.A9gionales"/>
     46                        </item>
     47                        <item name="Metropolitan road" fr.name="Route métropolitaine" type="way,closedway" icon="met.png">
     48                       
     49                                <label text="Attributes of a departemental road" fr.text="Attributs d'une route métropolitaine" />
     50                                <combo key="highway" text="Type of the road" fr.text="Type de la route" values="tertiary,secondary,primary,trunk" display_values="Tertiary,Secondary,Primary,Expressway" fr.display_values="Tertiaire,Secondaire,Primaire,Voie rapide" />
     51                                <text key="ref" text="Reference of the road." fr.text="Référence de la route." alternative_autocomplete_keys="M 8, M 40, M 660, M 1952, M 5b, M 48a, M 789d, M 8043c" match_expression="ref:M "/>
     52                                <combo key="maxspeed" text="Max Speed" fr.text="Vitesse Limite" values="20,30,40,45,50,60,70,80,90,110" display_values="20,30,40,45,50 (Default urban),60,70,80 (Default rural),90,110 (Expressway only)" fr.display_values="20,30,40,45,50 (Par défaut en agglo.),60,70,80 (Par défaut hors agglo.),90,110 (Voie rapide seulement)"/>
     53
     54                                <link text="More information on the wiki" fr.text="Plus d'informations sur le wiki" href="https://wiki.openstreetmap.org/wiki/FR:Cartographie_des_routes_en_France#Routes_d.C3.A9partementales_et_m.C3.A9tropolitaines"/>
     55                        </item>
     56                        <item name="Communal road" fr.name="Route communale" type="way,closedway" icon="com.png">
     57                       
     58                                <label text="Attributes of a communal road" fr.text="Attributs d'une route communale" />
     59                                <combo key="highway" text="Type of the road" fr.text="Type de la route" values="residential,unclassified,tertiary,secondary" display_values="Residential,Unclassified,Tertiary,Secondary" fr.display_values="Résidentielle,Non classifiée,Tertiaire,Secondaire" />
     60                                <text key="ref" text="Reference of the road." fr.text="Référence de la route." alternative_autocomplete_keys="C 3, C 11, C 203, C 1024" match_expression="ref:C "/>
     61                                <combo key="maxspeed" text="Max Speed" fr.text="Vitesse Limite" values="20,30,40,45,50,60,70,80,90" display_values="20,30,40,45,50 (Default urban),60,70,80 (Default rural),90" fr.display_values="20,30,40,45,50 (Par défaut en agglo.),60,70,80 (Par défaut hors agglo.),90"/>
     62
     63                                <link text="More information on the wiki" fr.text="Plus d'informations sur le wiki" href="https://wiki.openstreetmap.org/wiki/FR:Cartographie_des_routes_en_France#Routes_communales"/>
     64                        </item>
     65                        <item name="Proposed road" fr.name="Route en projet" type="way,closedway" icon="proposed.png" preset_name_label="true">
     66                       
     67                                <label text="Attributes of a proposed road" fr.text="Attributs d'une route en projet" />
     68                                <combo key="proposed" text="Type of the proposed road" fr.text="Type de la route en projet" editable="false" values="footway,cycleway,living_street,service,residential,unclassified,tertiary,secondary,primary,trunk,motorway,tertiary_link,secondary_link,primary_link,trunk_link,motorway_link" display_values="Footway,Cycleway,Living street,Service,Residential,Unclassified,Tertiary,Secondary,Primary,Expressway,Motorway,Tertiary link,Secondary link,Primary link,Trunk link,Motorway link" fr.display_values="Chemin piéton,Piste cyclable,Zone de rencontre,Voie de service,Résidentielle,Non classifiée,Tertiaire,Secondaire,Primaire,Voie rapide,Autoroute,Voie d'accès à une route tertiaire,Voie d'accès à une route secondaire,Voie d'accès à une route primaire,Bretelle de voie rapide,Bretelle d'autoroute" />
     69                                <text key="name" text="Name of the proposed road" fr.text="Nom du projet" />
     70                                <text key="operator" text="Operator of the proposed road" fr.text="Opérateur du projet" />
     71                                <text key="check_date" text="Date checked" fr.text="Date de vérification" />
     72                                <label text="Dates are written with the following format : YYYY-MM-DD" fr.text="Les dates s'écrivent avec le format suivant : AAAA-MM-JJ" />
     73                                <space />
     74                                <text key="note" text="Optional note for other contributors of OSM" fr.text="Note optionnelle pour les autres contributeurs d'OSM" />
     75                                <key key="highway" value="proposed" />
     76                        </item>
     77                </group>
     78               
     79                <group name="Maxspeeds" fr.name="Vitesses limite" icon="30.png">
     80               
     81                        <item name="Maxspeed" fr.name="Vitesse limite" icon="30.png" type="way,closedway">
     82                                <combo key="maxspeed" text="Max Speed" fr.text="Vitesse Limite" values="10,15,20,30,40,45,50,60,70,80,90,110,130" display_values="10,15,20,30,40,45,50 (Default urban),60,70,80 (Default rural),90,110 (Default expressway),130 (Default motorway)" fr.display_values="10,15,20,30,40,45,50 (Par défaut en agglo.),60,70,80 (Par défaut hors agglo.),90,110 (Par défaut voie rapide),130 (Par défaut autoroute)"/>
     83                        </item>
     84                       
     85                        <item name="Living street" fr.name="Zone de rencontre" icon="living_street-speedzone.png" type="way,closedway">
     86                                <key key="maxspeed" value="20" />
     87                                <key key="highway" value="living_street" />
     88                        </item>
     89
     90                        <item name="Zone 30" fr.name="Zone 30" icon="zone30.png" type="way,closedway">
     91                                <key key="maxspeed" value="30" />
     92                                <key key="zone:maxspeed" value="FR:30" />
     93                                <key key="source:maxspeed" value="FR:zone30" />
     94                        </item>
     95
     96                        <item name="Urban" fr.name="En agglomération" icon="agglo.png" type="way,closedway">
     97                                <key key="maxspeed" value="50" />
     98                                <key key="source:maxspeed" value="FR:urban" />
     99                        </item>
     100
     101                        <item name="Rural" fr.name="Hors agglomération" icon="hagglo.png" type="way,closedway">
     102                                <key key="maxspeed" value="80" />
     103                                <key key="source:maxspeed" value="FR:rural" />
     104                        </item>
     105                       
     106                </group>
     107               
     108        </group>
     109       
     110</presets>
     111}}}