Update 'shp_2_txt.py'
This commit is contained in:
parent
e86aaba613
commit
f1da68de21
1 changed files with 0 additions and 1 deletions
|
@ -20,7 +20,6 @@ from dbfread import DBF
|
||||||
dbf_file = DBF("f:\\testing\\shp_2_txt\\MA.dbf", load=True, encoding='utf8')
|
dbf_file = DBF("f:\\testing\\shp_2_txt\\MA.dbf", load=True, encoding='utf8')
|
||||||
txt_file = open("f:\\testing\\shp_2_txt\\MA.txt", 'w')
|
txt_file = open("f:\\testing\\shp_2_txt\\MA.txt", 'w')
|
||||||
|
|
||||||
|
|
||||||
for idx, record in enumerate(dbf_file):
|
for idx, record in enumerate(dbf_file):
|
||||||
txt_file.write(str(record['DEC_LON'] + record['DEC_LAT'] + record['ELLIP_HT'] + record['ORTHO_HT']) + '\n')
|
txt_file.write(str(record['DEC_LON'] + record['DEC_LAT'] + record['ELLIP_HT'] + record['ORTHO_HT']) + '\n')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue