Rooftop Solar Panels: direction or generator:orientation

I am working on a PR to improve the rooftop solar panel preset in the iD editor.

I noticed that there are two tags used to show which direction solar panels face:

  • direction=*

  • generator:orientation=*

The OSM Wiki mentions direction=* as the preferred option, but I’d like to confirm this before updating the documentation.

Which tag would you recommend using for rooftop solar panels?

I’ve been using direction simply because it’s visualised in the id editor (thus making it easy to check my maths is correct).

But it would be useful to see some stats on the current usage. You’d have to filter to rooftop panels and then see how many also have one of the two options tagged alongside it.

I have tended to use direction, but I map so many of them that I’ve given up adding details like that.

Near the Equator, I presume that people just point them straight at the sky, with only enough angle to let rain run off. I don’t know how that would be documented.