Using the __geo_interface__ protocol