def geometries(self):
        """Return an iterator of (shapely) geometries for this feature."""
        # Ensure that the associated files are in the cache
        fname = '{}_{}'.format(self.name, self.scale)
        for extension in ['.dbf', '.shx']:
            get_test_data(fname + extension)
        path = get_test_data(fname + '.shp', as_file_obj=False)
        return iter(tuple(shpreader.Reader(path).geometries()))
def geometries ( self ) : fname = '{}_{}' . format ( self . name , self . scale ) for extension in [ '.dbf' , '.shx' ] : get_test_data ( fname + extension ) path = get_test_data ( fname + '.shp' , as_file_obj = False ) return iter ( tuple ( shpreader . Reader ( path ) . geometries ( ) ) )
Return an iterator of (shapely) geometries for this feature.