@staticmethod
def invert_y(z, y):
    """
        Return the inverted Y value of the tile - for nsg we dont subtract an additional tile.

        z -- zoom level
        """
    if z == 0:
        return 0
    else:
        return (1 << z) - y - 1
