pour osmose cela serait correct ?

*["ref:FR:FANTOIR"]["ref:FR:FANTOIR"!~/^(no|([1-9][0-9]|0[1-9])([0-
9]{3})([0-9]|[A-Z])([0-9]{3})([A-Z]))$/][inside("FR")] {
 throwWarning: "mauvaise référence ref:FR:FANTOIR";
    group: tr("validation rules nat_ref in France");
    -osmoseItemClassLevel: "9019/9019002/3";
    -osmoseTags: list("ref", "highway");
    -osmoseAssertNoMatchWithContext: list("way highway=residential
name=impasse ref:FR:FANTOIR=75106S581T", "inside=FR");
}
*["ref:FR:FANTOIR:left"]["ref:FR:FANTOIR:left"!~/^(no|([1-9][0-9]|0[1-
9])([0-9]{3})([0-9]|[A-Z])([0-9]{3})([A-Z]))$/][inside("FR")] {
 throwWarning: "mauvaise référence ref:FR:FANTOIR";
    group: tr("validation rules nat_ref in France");
    -osmoseItemClassLevel: "9019/9019002/3";
    -osmoseTags: list("ref", "highway");
    -osmoseAssertNoMatchWithContext: list("way highway=residential
name=impasse ref:FR:FANTOIR=75106S581T", "inside=FR");
}
*["ref:FR:FANTOIR:right"]["ref:FR:FANTOIR:right"!~/^(no|([1-9][0-
9]|0[1-9])([0-9]{3})([0-9]|[A-Z])([0-9]{3})([A-Z]))$/][inside("FR")] {
 throwWarning: "mauvaise référence ref:FR:FANTOIR";
    group: tr("validation rules nat_ref in France");
    -osmoseItemClassLevel: "9019/9019002/3";
    -osmoseTags: list("ref", "highway");
    -osmoseAssertNoMatchWithContext: list("way highway=residential
name=impasse ref:FR:FANTOIR=75106S581T", "inside=FR");
}


_______________________________________________
Talk-fr mailing list
Talk-fr@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-fr

Répondre à