Allow variety of input types

Allow strings, objects that implement __geo_interface__ or
a sequence of objects that implement __geo_interface__ to be
passed into the main functions.