1 Mar
2012
1 Mar
'12
9:43 p.m.
The attached patch adds support for a wider variety of latitude/longitude input formats in the RFinder search dialog.
What should work:
dd mm.m N/S/E/W dd mm ss.s N/S/E/W
with any separator between the fields, and with or without a separator between the final group of digits and the direction.
The parsing code is currently extremely permissive. It doesn't complain about seconds or minutes values greater than 60; it just adds them in (so 45 90 N produces the same result as 46 30 N). Should it care? I could see that decision going either way.
-- Brad Ackerman N1MNB PGP: 0x9F49A373 brad@facefault.org <*> http://bsa.smugmug.com/
--
Brad Ackerman N1MNB PGP: 0x9F49A373
brad@facefault.org <*> http://bsa.smugmug.com/