<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def iter_data(self):
 """ Iterate over layer data Yields X, Y, GID tuples for each tile in the layer :return: Generator """

        for y, row in enumerate(self.data):
            for x, gid in enumerate(row):
                yield x, y, gid