Fixed a problem with GPS coordinates handling
svn: r16764
This commit is contained in:
parent
a17efafa99
commit
6d02067406
@ -462,6 +462,9 @@ def rational_to_dms(rational_coords):
|
||||
rm, rest = rm.split("/")
|
||||
rs, rest = rs.split("/")
|
||||
|
||||
if len(rest) > 1:
|
||||
rs = str( float( int(rs) / int(rest) ) )
|
||||
|
||||
return rd, rm, rs
|
||||
|
||||
#------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user