Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove power=sub_station/station rendering, add power=plant fill color #4088

Merged
merged 2 commits into from
Mar 26, 2020

Conversation

jeisenbe
Copy link
Collaborator

Fixes #3871
Fixes #3405

Changes proposed in this pull request:

  • Remove rendering of power=sub_station - this tag has been replaced by power=substation
  • Remove rendering of power=station - this tag has been replaced by power=plant
  • Render the @power fill color for power=plant, same as with power=substation

Currently we still render the old tags power=sub_station and power=station, but the new tags power=substation and power=plant are many times more common now:

power=sub_station is much less popular than power=substation (300k > 13k)

power=station has dropped steadily (3k) vs power=plant (19k).

The newer tags power=substation and power=plant are already rendered, except power=plant does not have an outline or fill color.

An alternative would be to only render an outline, but I found this was confusing with shop=mall areas in a previous PR. The fill color works better.

These two tags are deprecated and have been replaced by power=plant and power=substation
Previously substations and the old tag power=station had a fill color but power=plant did not
@jeisenbe
Copy link
Collaborator Author

https://www.openstreetmap.org/#map=15/54.6608/20.5934
Before - substations in center, landuse=industrial on east and west are rendered, but not the power=plant area
power-plant-before-15:54 6608:20 5934

After
power-plant-after-15:54 6608:20 5934

https://www.openstreetmap.org/#map=16/54.6628646/20.5838245
Before - power=plant area not rendered.
power-plant-before-16:54 6628646:20 5838245

After
power-plant-after-16:54 6628646:20 5838245

@jeisenbe
Copy link
Collaborator Author

https://www.openstreetmap.org/#map=16/1.4501/103.8868.png
Before: substations rendered, but not the power=plant area, in Malaysia next to Singapore:
power-plant-before-16:1 4501:103 8868

After:
power-plant-after-16:1 4501:103 8868

@pnorman pnorman merged commit c1ebb61 into gravitystorm:master Mar 26, 2020
@jeisenbe jeisenbe deleted the sub_station branch March 26, 2020 06:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Stop rendering power=sub_station and power=station Render power plants area
2 participants