def get_all_pictures_cursor(self, lat_min, lon_min, lat_max, lon_max, picture_size=None, set_=None,
                                map_filter=None):
        """
        Generator to get all available photos for a given bounding box

        :param lat_min:
            Minimum latitude of the bounding box
        :type lat_min: float
        :param lon_min:
            Minimum longitude of the bounding box
        :type lon_min: float
        :param lat_max:
            Maximum latitude of the bounding box
        :type lat_max: float
        :param lon_max:
            Maximum longitude of the bounding box
        :type lon_max: float
        :param picture_size:
            This can be: original, medium (*default*), small, thumbnail, square, mini_square
        :type picture_size: basestring
        :param set_:
            This can be: public, popular or user-id; where user-id is the specific id of a user (as integer)
        :type set_: basestring/int
        :param map_filter:
            Whether to return photos that look better together; when True, tries to avoid returning photos of the same
            location
        :type map_filter: bool
        :return: Yields individual dicts of photos
        """
        page_size = 100
        page = 0

        result = self._request(lat_min, lon_min, lat_max, lon_max, page * page_size, (page + 1) * page_size,
                               picture_size, set_, map_filter)

        total_photos = result['count']

        for photo in result['photos']:
            yield photo

        if total_photos < page_size:
            raise StopIteration()

        page += 1

        pages = (total_photos / page_size) + 1
        while page < pages:
            result = self._request(lat_min, lon_min, lat_max, lon_max, page * page_size, (page + 1) * page_size,
                                   picture_size, set_, map_filter)

            for photo in result['photos']:
                yield photo

            page += 1

        raise StopIteration()
Generator to get all available photos for a given bounding box

        :param lat_min:
            Minimum latitude of the bounding box
        :type lat_min: float
        :param lon_min:
            Minimum longitude of the bounding box
        :type lon_min: float
        :param lat_max:
            Maximum latitude of the bounding box
        :type lat_max: float
        :param lon_max:
            Maximum longitude of the bounding box
        :type lon_max: float
        :param picture_size:
            This can be: original, medium (*default*), small, thumbnail, square, mini_square
        :type picture_size: basestring
        :param set_:
            This can be: public, popular or user-id; where user-id is the specific id of a user (as integer)
        :type set_: basestring/int
        :param map_filter:
            Whether to return photos that look better together; when True, tries to avoid returning photos of the same
            location
        :type map_filter: bool
        :return: Yields individual dicts of photos