更新 ENVIxml2csv_czh.py
parent
879f1dc09c
commit
231284f652
|
@ -17,7 +17,7 @@ root = tree.getroot()
|
|||
|
||||
|
||||
# 创建CSV文件
|
||||
with open(csv_file, 'w', newline='', encoding='UTF-8') as csvfile:
|
||||
with open(csv_file, 'a', newline='', encoding='UTF-8') as csvfile:
|
||||
csvwriter = csv.writer(csvfile)
|
||||
# 写入CSV标题行
|
||||
csvwriter.writerow(['parent_id','id','covernm','roi_polygon'])
|
||||
|
|
Loading…
Reference in New Issue