Skip to content

Commit

Permalink
Complain about ways with boundary tagging that are part of tagged bou…
Browse files Browse the repository at this point in the history
…ndaries
  • Loading branch information
watmildon committed Dec 26, 2024
1 parent b88626b commit e0fe7a0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions rules/US-Boundary-Rules.validator.mapcss
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,8 @@ way["boundary"="administrative"]{
way["boundary"="census"]{
throwWarning: tr("Boundary tagging should be moved to relation");
}

/* type:way boundary=administrative child type:relation boundary=administrative */
relation["boundary"="administrative"] > way["boundary"="administrative"] {
throwWarning: tr("Duplicative boundary tagging on constituent ways. Should be removed.");
}

0 comments on commit e0fe7a0

Please sign in to comment.