Fedora Account System
Red Hat Associate
Red Hat Customer
See http://geo.rkkda.com/forum/read.php?8,1069 for details. It used to work in 1.4.4, before the "C" language gpsbabel got refactored into "C++" language gpsbabel. Basically, the floating point does not work if the decimal part is non-zero. E.G. 3.0 goes to 3.0, but 3.5 goes to 0.0! $ cd gpsbabel $ diff -u geo.cc.org geo.cc --- geo.cc.org 2017-10-14 20:54:31.228998156 -0500 +++ geo.cc 2017-10-14 20:55:48.450485105 -0500 @@ -74,9 +74,9 @@ waypt_add_url(wpt, reader.readElementText(), a.value("text").toString()); } else if (current_tag == "/loc/waypoint/difficulty") { - wpt->gc_data->diff = reader.readElementText().toInt() * 10; + wpt->gc_data->diff = reader.readElementText().toDouble() * 10; } else if (current_tag == "/loc/waypoint/terrain") { - wpt->gc_data->terr = reader.readElementText().toInt() * 10; + wpt->gc_data->terr = reader.readElementText().toDouble() * 10; } else if (current_tag == "/loc/waypoint/container") { wpt->gc_data->container = wpt_container(reader.readElementText()); } "Thanx for the fix, Rick. It's going into https://github.com/gpsbabel/gpsbabel/pull/93 " - Robert Lipe Unfortunately, gpsbabel is still on 1.5.4, even after I reported this in October 14, 2017.
Yeah, the gpsbabel folks can be fairly slow to push out releases, unfortunately.
Apparently I lost commit permissions to this package. Here's a PR: https://src.fedoraproject.org/rpms/gpsbabel/pull-request/1
gpsbabel-1.5.4-9.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-e714994253
gpsbabel-1.5.4-9.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-59f23b3da0
gpsbabel-1.5.4-9.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2018-f0f265d193
gpsbabel-1.5.4-9.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-f0f265d193
gpsbabel-1.5.4-9.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-59f23b3da0
gpsbabel-1.5.4-9.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-e714994253
Thanks! Put in the testing fc26 gpsbabel and it works! Before: $ geo-nearest -otabsep 19 GC637Z0 If Only Stones Could Float!?! by JAYMZ*BRONX http://www.geocaching.com/seek/cache_details.aspx?log=y&wp=GC637Z0 Geocache-regular 44.935100 -93.499833 1770540707 1363150200 44.935100N 93.499833W N44.935100 W93.499833 N W -328083986.719160F -99999999.000000M 42257.208333 1441861200 2.0 0.0 Small Traditional Cache 19.949596 32.105762 JAYMZ*BRONX 20150910 hint 20161114 After: $ geo-nearest -otabsep ... 19 GC637Z0 If Only Stones Could Float!?! by JAYMZ*BRONX http://www.geocaching.com/seek/cache_details.aspx?log=y&wp=GC637Z0 Geocache-regular 44.935100 -93.499833 1770540707 1363150200 44.935100N 93.499833W N44.935100 W93.499833 N W -328083986.719160F -99999999.000000M 42257.208333 1441861200 2.0 2.5 Small Traditional Cache 19.949596 32.105762 JAYMZ*BRONX 20150910 hint 20161114
gpsbabel-1.5.4-9.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.
gpsbabel-1.5.4-9.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.
gpsbabel-1.5.4-9.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.