Automated edits/onovy/EG.D

From OpenStreetMap Wiki
Jump to navigation Jump to search

Page content created as advised on Automated_Edits_code_of_conduct#Document_and_discuss_your_plans.

Who

onovy

contact

message via OSM

What

Change operator from EO.N to EG.D.

Why

At the beginning of 2021, company EO.N Distribucni was renamed to EG.D. This company owns a distribution network of electricity and gas in part of Czech Republic. Thus this change is valid only for Czechia and only for distribution network. Power plants and for example charging points are still owned by EO.N.

How

{{geocodeArea:"Czechia"}}->.czechia;

(
nwr["operator"~"^E\\.?ON",i](area.czechia);
nwr["operator"~"^EG\\.?D",i](area.czechia);
)->.eon;

(
nwr.eon["power"="minor_line"];
nwr.eon["power"="line"];
nwr.eon["power"="cable"];
nwr.eon["power"="pole"];
nwr.eon["power"="tower"];
nwr.eon["power"="terminal"];
nwr.eon["power"="switchgear"];
nwr.eon["power"="substation"]["substation"!="generation"];
nwr.eon["power"="transformer"]["transformer"!="generator"];
nwr.eon["pipeline"="substation"];
relation.eon["type"="route"]["route"="power"];
)->.to_fix;

nwr.to_fix;

New values:

  • operator=EG.D
  • operator:wikidata=Q47089156

And I will remove this tag:

  • operator:wikipedia

Discussion

https://lists.openstreetmap.org/pipermail/talk-cz/2024-July/026716.html

Outcome

DONE: https://www.openstreetmap.org/changeset/153564058