From 822cce1ef79507a7a0121a4cb0267b3a04a95c9b Mon Sep 17 00:00:00 2001 From: Patrick Valsecchi Date: Wed, 4 Feb 2015 09:30:24 +0100 Subject: More tolerant when parsing GPS coordinates. Refactored the parsing logic to make it more solid (no more guessing) and more flexible (support more formats). Added a test for checking that. Fixed a few warnings. [Dirk Hohndel: some changes to coding style] Signed-off-by: Patrick Valsecchi Signed-off-by: Dirk Hohndel --- Documentation/user-manual.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Documentation') diff --git a/Documentation/user-manual.txt b/Documentation/user-manual.txt index e13ea098e..886c687d7 100644 --- a/Documentation/user-manual.txt +++ b/Documentation/user-manual.txt @@ -277,6 +277,9 @@ Southern hemisphere latitudes are given with a *S*, e.g. S30°, or with a negative value, e.g. -30.22496. Similarly western longitudes are given with a *W*, e.g. W07°, or with a negative value, e.g. -7.34323. +Some keyboards don't have the degree sign (°). It can be replaced by a d like +that: N30d W20d. + Please note that GPS coordinates of a dive site are linked to the Location name - so adding coordinates to dives that do not have a location description will cause unexpected behaviour (Subsurface will think that all of these -- cgit v1.2.3-70-g09d2