Changes between Version 23 and Version 24 of Rules/FranceSpecificRules


Ignore:
Timestamp:
2020-03-30T13:25:43+02:00 (6 years ago)
Author:
frodrigo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Rules/FranceSpecificRules

    v23 v24  
    8888/* #xxxxx add validation rules for French RIU (Referentiel Inter Urbain) at https://www.data.gouv.fr/fr/datasets/bornage-du-reseau-routier-national/*
    8989/* # nat_ref is well formed on node (milestone) */
    90 node[highway=milestone][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)$/] {
     90node[highway=milestone][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")] {
    9191    throwWarning: tr("{0} is not a node valid reference RIU", "{1.tag}");
    9292    group: tr("validation rules nat_ref in France");
    93     -osmoseAssertMatch: list("node highway=milestone distance=38 ref='A 4' nat_ref=77PR38DC operator=SANEF");
    94     -osmoseAssertNoMatch: list("node highway=milestone distance=38");
     93    -osmoseAssertMatch: list("node highway=milestone distance=38 ref='A 4' nat_ref=77PR38DC operator=SANEF", "inside=FR");
     94    -osmoseAssertNoMatch: list("node highway=milestone distance=38", "inside=FR");
    9595}
    9696/* # Select major roads */