The same people who pay the rent now. Tax money rents the farm field, it's just renting it for a different use.
Solar panels can be mandated to be built over carparks (like in France) and that cost will be taken up by the constructor.

Comments