@classmethod
def exterior_interiors(cls, polygon):
    """
        Extracts exterior rings and all interior rings from a polygon
        """
    exterior = polygon.find('.//{{{}}}exterior'.format(cls.gml))
    interiors = polygon.findall('.//{{{}}}interior'.format(cls.gml))
    return exterior, interiors
