Power networks/Quality Assurance
This page gather quality assurance processes concerning power networks.
Electrical power networks
This section lists the points to check on the electrical network and the corresponding Overpass queries.
Non duplicate substation
Substations are usually mutually exclusive. We shall not find a substation within an other one.
Overpass query
/* This query requests all duplicates substations (2 substations in the same place) */
[out:json][timeout:180];
way[power=substation]({{bbox}})->.substations;
foreach.substations->.substation
( way[power=substation](area.substation)->.connectedsub
((.connectedsub; - .substation;);.duplicatesub;) -> .duplicatesub; );
.duplicatesub; out geom;
Unsuitable value for "power" tag
Example of unsuitable values : power=transition ; yes ; station ; roof_pole ; proposed ; "tower;pole" ; "pole;transformer"
Valid values : https://wiki.openstreetmap.org/wiki/Template:Map_Features:power
See also Taginfo : https://taginfo.openstreetmap.org/keys/power#values
Especially, Tag power=station is deprecated value and should be replaced either with plant, with generator or with substation : https://wiki.openstreetmap.org/wiki/Tag:power=station
Overpass query
/* Identify features with invalid power tag value */
[out:json][timeout:180];
nwr["power"!~"^(cable|catenary_mast|compensator|connection|converter|generator|heliostat|insulator|inverter|line|minor_line|plant|pole|portal|substation|switch|switchgear|terminal|tower|transformer)$"]["power"]({{bbox}});
out geom;
/* Generated by the overpass-turbo wizard for: “power=station” */
[out:json][timeout:25];
nwr["power"="station"]({{bbox}});
out geom;
Line connection with portal
If power=portal is a way, the node that connect a power=line must be power=insulator
Geometry type checking
Tag | Node | Way | Area | Relation |
---|---|---|---|---|
power=line | - | ![]() |
- | - |
power=substation | ![]() |
- | ![]() |
- |
power=portal | ![]() |
![]() |
- | - |
power=transformer | ![]() |
- | - | - |
power=insulator | ![]() |
![]() |
- | - |
Tag:power=portal must be a node or a way
Tag:power=transformer must be a node
See : power=transformer
There might be some confusion with power=substation
Tag:power=substation must be a node or an area
See : power=substation
Voltage coherence on power lines
Two end-to-end connected power lines on a power=tower must have same voltage.
Only use of a power=transformer might change the voltage.
Number of cables coherence on power lines
Two end-to-end connected power lines on a power=tower must have same number of cables.