How digital technology can help keep cities green and pleasant