forked from osmlab/atlas-checks
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Multiple Names on Street Check Osmose 5030 (osmlab#596)
* Bug 558 InvalidAccessTagCheck should ignore borders * Fix osmlab#558 InvalidAccessTagCheck needs to ignore ways that cross borders * Fix osmlab#558 InvalidAccessTagCheck needs to ignore ways that cross borders * Fix osmlab#558 InvalidAccessTagCheck needs to ignore ways that cross borders * Fix osmlab#558 InvalidAccessTagCheck needs to ignore ways that cross borders * Fix osmlab#558 InvalidAccessTagCheck needs to ignore ways that cross borders * Fix osmlab#558 InvalidAccessTagCheck needs to ignore ways that cross borders * Fix osmlab#558 InvalidAccessTagCheck needs to ignore ways that cross borders * MultipleNamesOnStreetCheck Osmose 5030 * MultipleNamesOnStreetCheck Osmose 5030 * MultipleNamesOnStreetCheck Osmose 5030 * MultipleNamesOnStreetCheck Osmose 5030 * MultipleNamesOnStreetCheck Osmose 5030 * MultipleNamesOnStreetCheck Osmose 5030 * MultipleNamesOnStreetCheck Osmose 5030 * MultipleNamesOnStreetCheck Osmose 5030 * MultipleNamesOnStreetCheck Osmose 5030 * MultipleNamesOnStreetCheck Osmose 5030 * MultipleNamesOnStreetCheck Osmose 5030 * MultipleNamesOnStreetCheck Osmose 5030 Co-authored-by: mselaineshum <[email protected]> Co-authored-by: Elaine Shum <[email protected]>
- Loading branch information
1 parent
eb289b2
commit c4e17c9
Showing
4 changed files
with
109 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
...s/org/openstreetmap/atlas/checks/validation/tag/invalid-edge-tags-check-regex-filter.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"filters": [ | ||
{ | ||
"instruction": "The edge tag: {0} contains MULTIPLE VALUES separated by FORWARD SLASH '/'.", | ||
"regex": ["[A-Z0-9]{5}\\s?/"], | ||
"tagNames": ["name"], | ||
"exceptions": [ | ||
{ | ||
"tagName": "name", | ||
"values": [ | ||
"Vehicular/ Peatonal" | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"instruction": "The edge tag: {0} contains MULTIPLE VALUES separated by BACKSLASH '\\'.", | ||
"regex": ["\\\\"], | ||
"tagNames": ["name"], | ||
"exceptions": [] | ||
}, | ||
{ | ||
"instruction": "The edge tag: {0} contains MULTIPLE VALUES separated by PLUS sign '+'.", | ||
"regex": ["\\+"], | ||
"tagNames": ["name"], | ||
"exceptions": [] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters