0
私はxml
ファイルを解析しようとしていますが、それはうまくいくと思いますが、座標を印刷すると、私はコンソールでこれを取得します。名前空間(gml)を使用してXMLを解析する
tree = ET.parse(url)
root = tree.getroot()
namespaces = {'gml': 'http://www.opengis.net/gml#'}
print(root.findall('gml:coordinates', namespaces))