Skip to content

Commit

Permalink
Remove unnecessary check for transformer frequency tag
Browse files Browse the repository at this point in the history
This check claims to come from JOSM but it seems to have been removed
from JOSM.

In general, we don't require that frequency is tagged on power objects
unless it differs from the standard grid frequency.

This also agrees with the [wiki
page](https://wiki.openstreetmap.org/wiki/Tag:power=transformer)
  • Loading branch information
russss committed Feb 22, 2025
1 parent d303b74 commit 05975af
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions plugins/Power.validator.mapcss
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,3 @@ node[power=transformer][voltage] {
-osmoseItemClassLevel: "9100/91002/2";
-osmoseTags: list("tag");
}

node[power=transformer][!frequency] {
throwWarning: tr("Power Transformers should have a frequency tag");
-osmoseItemClassLevel: "9100/91003/3";
-osmoseTags: list("tag");

assertMatch: "node power=transformer";
assertNoMatch: "node power=transformer frequency=50";
}

0 comments on commit 05975af

Please sign in to comment.