def polydecomposer(polygon):
    exter = polygon.findall('.//{%s}exterior' %ns_gml)
    inter = polygon.findall('.//{%s}interior' %ns_gml)
    return exter, inter
Extracts the <gml:exterior> and <gml:interior> of a <gml:Polygon>.
dataset/ETHPy150Open tudelft3d/CityGML2OBJs/markup3dmodule.py/polydecomposer