Skip to content
This repository was archived by the owner on May 25, 2022. It is now read-only.

Commit a7b83b4

Browse files
committed
Update gps_utils.py
1 parent caf0ec7 commit a7b83b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/Get meta information of images/gps_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
def format_lati_long(data):
66
list_tmp=str(data).replace('[', '').replace(']', '').split(',')
77
list=[ele.strip() for ele in list_tmp]
8-
data_sec = int(list[-1].split('/')[0]) /(int(list[-1].split('/')[1])*3600)# 秒的值
8+
data_sec = int(list[-1].split('/')[0]) /(int(list[-1].split('/')[1])*3600)
99
data_minute = int(list[1])/60
1010
data_degree = int(list[0])
1111
result=data_degree + data_minute + data_sec

0 commit comments

Comments
 (0)