pysal.lib.cg.asShape

pysal.lib.cg.asShape(obj)[source]

Returns a pysal shape object from obj. obj must support the __geo_interface__.