mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-01 00:43:24 +00:00
Fix GPS import from divinglog
Ticket #63 - divinglog 5.08 import issues This patch will include the GPS coordinates from divinglog. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
c1581ef45b
commit
e84ad1b33a
1 changed files with 6 additions and 0 deletions
|
@ -1018,14 +1018,20 @@ static void try_to_fill_dive(struct dive *dive, const char *name, char *buf)
|
|||
return;
|
||||
if (MATCH(".gps", gps_location, dive))
|
||||
return;
|
||||
if (MATCH(".Place", gps_location, dive))
|
||||
return;
|
||||
if (MATCH(".latitude", gps_lat, dive))
|
||||
return;
|
||||
if (MATCH(".sitelat", gps_lat, dive))
|
||||
return;
|
||||
if (MATCH(".lat", gps_lat, dive))
|
||||
return;
|
||||
if (MATCH(".longitude", gps_long, dive))
|
||||
return;
|
||||
if (MATCH(".sitelon", gps_long, dive))
|
||||
return;
|
||||
if (MATCH(".lon", gps_long, dive))
|
||||
return;
|
||||
if (MATCH(".location", utf8_string, &dive->location))
|
||||
return;
|
||||
if (MATCH("dive.name", utf8_string, &dive->location))
|
||||
|
|
Loading…
Add table
Reference in a new issue