User:Didier2020

From OpenStreetMap Wiki
Jump to navigation Jump to search

Description des données métier

Les différentes sources de données métier, du réseau routier national (concédé ou non concédé), qui peuvent être ajoutées a osm

Ireve

Imagerie routière : un mapillary avant l'heure. Les photo sont "calées" en point localisant (axe, sens, pr), précision au mètre. Les coordonnées ne sont pas "nécessaire". Il n'y a pas d'intégration de données : les informations vues sur ces photographies sont intégrées a osm (signalisation directionelle et dynamique, nombre de voie, limitations de vitesse ou restrictions de circulations, etc)

Riu

Le Référentiel Inter Urbain est à l'origine une base de donnée patrimoniale. Il est maintenant utilisé comme référenciel localisant pour l'échange de donnée de trafic avec la norme Datex2

  • Informations a disposition et tags possible
    • Référence des routes et bretelles :
      • référence de la route : ref=* E 50.JPG, ne pas confondre la référence de la route avec l'information de route associée a la signalisation directionnelle Junction example.png
      • référence de la bretelle : nat_ref=* ou (nat_ref:forward=* et nat_ref:backward=*) il est extrémement rare de voir sur le terrain cette référence
      • gestionnaire operator=*
      • portée ou sens : D droite, G gauche ou U unique; U par défaut, D et G s'applique a des voies a chaussées séparées, D pour les bretelles.
    • points localisation des PR des routes: highway=milestone.
      • le pr : distance=*. PK est obsolète pour le domaine routier (un pk faisant un kilometre, un pr a une interdistance de x m entre 2 pr). Ce localisant est l'equivalent routier des bornes géodisiques.
      • le département, et le sens n'ont pas d'equivalent dans osm.
      • Alors que l'on peut voir sur le terrain des "bornes" avec une référence d'axe et un pr, cette information est plus complete. 91PR29D est le pr 29 dans le sens des pr croissant et avec le gestionnaire du département 91 (la localisation géométrique du pr n'est pas forcemenent siuée dans le département gestionnaire)
    • points localisant des bretelles nat_ref=* exemple pour l'échangeur (91N910427), la référence de la bretelle nat_ref=91N910427_x
      • 91 est le département
      • N correspond à la route utilisée : N national, A autoroute ou P provisoire
      • 9 spécifie que c'est une bretelle ou giratoire
      • 104, référence route, ici c'est N104, éventuellement suivi de "CD" pour "concédé"
      • 27 correspond a l'échangeur 27 (ce n'est pas necessairement le numéro d'échangeur de la signalisation directionnelle), éventuellement suivi d'un "indice" alphabétique
      • _x, ou x correspond a un "pr". C'est le n° unique de bretelle de cet 'échangeur
  • Mapcss utilisé dans josm pour la saisie/validation des données
/* exit_to on node, add destination or destination:... on way */
node[highway=motorway_junction][exit_to] < way[highway=~/^.*_link$/][!/^destination/]{
    throwError: tr("{0} way without destination tag", "{1.tag}");
    group: tr("Info sortie");
    -osmoseTags: list("ref", "highway");
}

/* validation rules for French RIU (Referentiel Inter Urbain) at https://www.data.gouv.fr/fr/datasets/bornage-du-reseau-routier-national   */
node[highway=milestone][operator][nat_ref][nat_ref!~/^(([1-9][0-9]|0[1-9])PR([0-9]|[1-9][0-9]|[1-9][0-9][0-9])[DGU](|C))$/][inside("FR")] {
    throwError: tr("{0} is not a milestone valid reference RIU", "{2.tag}");
    group: tr("validation rules highway milestone");
    -osmoseItemClassLevel: "3040/30403/3";
    -osmoseTags: list("ref", "highway");
    -osmoseAssertNoMatchWithContext: list("node highway=milestone ref=A4 distance=38 nat_ref=77PR38DC operator=SANEF", "inside=FR");
}

/* missing ref for milestone */
node[highway=milestone][operator][nat_ref][!ref][inside("FR")] {
    throwError: tr("missing ref");
    group: tr("validation rules highway milestone");
    -osmoseTags: list("ref", "highway");
    -osmoseAssertMatchWithContext: list("node highway=milestone distance=38 nat_ref=77PR38DC operator=SANEF", "inside=FR");
    -osmoseAssertNoMatchWithContext: list("node highway=milestone ref=A4 distance=38 nat_ref=77PR38DC operator=SANEF", "inside=FR");
}

/* missing distance for milestone */
node[highway=milestone][operator][nat_ref][!distance][inside("FR")] {
    throwError: tr("missing distance");
    group: tr("validation rules highway milestone");
    -osmoseTags: list("ref", "highway");
    -osmoseAssertMatchWithContext: list("node highway=milestone ref=A4 nat_ref=77PR38DC operator=SANEF", "inside=FR");
    -osmoseAssertNoMatchWithContext: list("node highway=milestone ref=A4 distance=38 nat_ref=77PR38DC operator=SANEF", "inside=FR");
}

/* tag nat_ref is for links roads, ref is on major roads */
way[highway=~/^(motorway|trunk|primary|secondary|tertiary)$/][nat_ref][operator][!junction][inside("FR")] {
    throwError: tr("{0} must be a link road or roundabout", "{1.tag}");
    group: tr("validation rules nat_ref in France");
    -osmoseTags: list("ref", "highway");
    -osmoseAssertMatchWithContext: list("way highway=primary nat_ref=62A901609CD_2 operator=SANEF", "inside=FR");
    -osmoseAssertNoMatchWithContext: list("way highway=primary junction=roundabout nat_ref=62A901609CD_2 operator=SANEF", "inside=FR");
}

way[highway=~/^(motorway|trunk|primary|secondary|tertiary)$/]["nat_ref:backward"][operator][inside("FR")],
way[highway=~/^(motorway|trunk|primary|secondary|tertiary)$/]["nat_ref:forward"][operator][inside("FR")] {
    throwError: tr("{0} must be a link road ", "{1.tag}");
    group: tr("validation rules nat_ref in France");
    -osmoseTags: list("ref", "highway");
    -osmoseAssertNoMatchWithContext: list("way highway=motorway_link nat_ref:forward=62A902615CD_1 nat_ref:backward=62A902615CD_2 operator='SANEF'", "inside=FR");
}

/* tag nat_ref is well formed */
way[highway=~/^(motorway_link|trunk_link|primary_link|secondary_link|tertiary_link)$/][nat_ref][nat_ref!~/^([1-9][0-9]|0[1-9])[ANP]9[0-9]{3}([0-9]?[0-9]|B1|B2)(|[A-Z]|[a-z])(|CD)_(1[0-9]|[1-9])$/][operator!="VILLE DE PARIS"][inside("FR")] {
    throwError: tr("{0} is not a valid reference", "{1.tag}");
    group: tr("validation rules nat_ref in France");
    -osmoseTags: list("ref", "highway");
    -osmoseAssertNoMatchWithContext: list("way highway=motorway_link nat_ref=80A901645CD_6 operator=SANEF", "inside=FR");
}

/* tag nat_ref is well formed on roundabout*/
way[junction=roundabout][highway=~/^(motorway|trunk|primary|secondary|tertiary)$/][nat_ref][nat_ref!~/^(([1-9][0-9]|0[1-9])[ANP]9[0-9]{3}([0-9]?[0-9]|B1|B2)(|[A-Z]|[a-z])(|CD)_(1[0-9]|[1-9]))$/][inside("FR")] {
    throwError: tr("{0} is not a valid reference", "{2.tag}");
    group: tr("validation rules nat_ref in France");
    -osmoseTags: list("ref", "highway");
    -osmoseAssertNoMatchWithContext: list("way highway=primary junction=roundabout nat_ref=80A901645_6 operator=DIRN", "inside=FR");
}

/* tag nat_ref is well formed specific Paris*/
way[highway=~/^(motorway_link|trunk_link|primary_link|secondary_link|tertiary_link)$/][nat_ref][nat_ref!~/^(75Periph_Paris_[0-9]{2}_(1[0-9]|[1-9]))$/][operator="VILLE DE PARIS"][inside("FR")] {
    throwError: tr("{0} is not a valid reference (Paris)", "{1.tag}");
    group: tr("validation rules nat_ref in France");
    -osmoseTags: list("ref", "highway");
    -osmoseAssertNoMatchWithContext: list("way highway=trunk_link nat_ref=75Periph_Paris_05_3 operator=\"VILLE DE PARIS\"", "inside=FR");
}

way[highway=~/^(motorway_link|trunk_link|primary_link|secondary_link|tertiary_link)$/]["nat_ref:forward"]["nat_ref:forward"!~/^(([1-9][0-9]|0[1-9])[ANP]9[0-9]{3}([0-9]?[0-9]|B1|B2)(|[A-Z]|[a-z])(|CD)_(1[0-9]|[1-9]))$/][inside("FR")],
way[highway=~/^(motorway_link|trunk_link|primary_link|secondary_link|tertiary_link)$/]["nat_ref:backward"]["nat_ref:backward"!~/^(([1-9][0-9]|0[1-9])[ANP]9[0-9]{3}([0-9]?[0-9]|B1|B2)(|[A-Z]|[a-z])(|CD)_(1[0-9]|[1-9]))$/][inside("FR")]{
    throwError: tr("{0} is not a valid reference", "{1.tag}");
    group: tr("validation rules nat_ref in France");
    -osmoseTags: list("ref", "highway");
    -osmoseAssertNoMatchWithContext: list("way highway=motorway_link nat_ref:forward=62A902615CD_1 nat_ref:backward=62A902615CD_2 operator=SANEF", "inside=FR");
}

/* nat_ref reference without operator */
way[highway][highway=~/^(motorway_link|trunk_link|primary_link|secondary_link|tertiary_link)$/][nat_ref][!operator][inside("FR")] {
    throwError: tr("Missing tag operator with nat_ref");
    group: tr("validation rules nat_ref in France");
    -osmoseTags: list("ref", "highway");
}

way[highway][highway=~/^(motorway_link|trunk_link|primary_link|secondary_link|tertiary_link)$/]["nat_ref:forward"][!operator][inside("FR")],
way[highway][highway=~/^(motorway_link|trunk_link|primary_link|secondary_link|tertiary_link)$/]["nat_ref:backward"][!operator][inside("FR")] {
    throwError: tr("Missing tag operator with nat_ref");
    group: tr("validation rules nat_ref in France");
    -osmoseTags: list("ref", "highway");
}

way.link_road["nat_ref:forward"][oneway=~/^(yes|1|-1)$/][inside("FR")],
way.link_road["nat_ref:backward"][oneway=~/^(yes|1|-1)$/][inside("FR")] {
    throwError: tr("{0} no tag forward if oneway", "{2.tag}");
    group: tr("validation rules nat_ref in France");
    -osmoseTags: list("ref", "highway");
}

GMAO Dirif avec localisation géographique basée sur google earth, donc non utilisable

  • caméra de surveillance
  • capteur de comptage
  • réseau d'appel d'urgence
  • station météorologique

Localisation géographique basée sur Ireve (localisé par un pr)

Equipement d'information / surveillance

  • restrictions
    • France road sign B18a.svg access:explosives=no
    • France road sign B18c.svg hazmat=no
    • France road sign B3a.svg overtaking:hgv=no
    • panneau de vitesse maxspeed=*

Equipement d'urgence associé a un tunnel

  • caméra Détection Automatique Incident man_made=surveillance
    LOADING TAG LIST... (If you do not see this tag list, you need to enable JavaScript)
    This table is auto-generated. See Template:Taglist for a documentation on it.
  • Dispositif de Fermeture Physique, composé de
    • barrière barrier=lift_gate
    • mini panneau de message (pictogramme & texte defilant)
    • portiques avec feux rouge clignotant
    • panneau a message variable avec pictogramme
  • Systeme d'auto-evacuation
    • France road sign CE30a.svg issue de secours
    • chevrons clignotant

Signalisation prescriptive

Signalisation diverse

Equipement autres

memento

Barrieres naturelles ou physique

embankment Railway embankment.jpg Mapping-Features-Road-Embankment.png cutting Road cut.jpgRailways cutting.jpg tunnel Tunnel.jpg Haywards Heath tunnel.jpg

bridge 2014 Karwina, Darków, Most żelbetowy 01.jpg Mapping-Features-Road-Bridge.png trafic_calming=chicane

autre

  • couleur hexa en perl pour mapnik
@rgb = (128, 128, 128);               # RGB gris
$hex_grey = $rgb->rgb2hex(@rgb);      # valeur hexa 'C0C0C0'
  • couleur hexa en python :
rgb_to_hex((255, 255, 255))

Outils

Utilisation osm2pgsql - postgis

 Installation 
 Configuration
 Exemples d'utilisation
 Full History