Fixed a problem with GPS coordinates handling

svn: r16764
This commit is contained in:
Rob G. Healey 2011-03-06 01:21:54 +00:00
parent a17efafa99
commit 6d02067406

View File

@ -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
#------------------------------------------------