Route Coordinates only stored to 6 significant figures

88 views
Skip to first unread message

Kevin Sharp

unread,
Mar 27, 2026, 12:20:15 AM (5 days ago) Mar 27
to golden-cheetah-users
I notice that coordinates in routes.xml are only stored to 6 significant figure whereas coordinates in activity files are stored to 6 decimal places. At my location the resolution on longitude corresponds to about 88 meters which is obviously is not good. 

I get this both with QT5.15.2 running on Win11 and QT6.8.3 running on Win10. I'm guessing that  it's the default format for QString at line 130 in Routeparser.cpp , but I can't easily do a build to confirm this. Can anyone verify this, or check whether they have a build that doesn't have this problem? 

Ale Martinez

unread,
Mar 27, 2026, 11:12:51 AM (5 days ago) Mar 27
to golden-cheetah-users
See https://github.com/GoldenCheetah/GoldenCheetah/pull/4849, once AppVeyor jobs finish you can download an installer following the links to Artifacts.

Ale Martinez

unread,
Mar 27, 2026, 12:21:23 PM (5 days ago) Mar 27
to golden-cheetah-users
El viernes, 27 de marzo de 2026 a la(s) 12:12:51 p.m. UTC-3, Ale Martinez escribió:
See https://github.com/GoldenCheetah/GoldenCheetah/pull/4849, once AppVeyor jobs finish you can download an installer following the links to Artifacts.

Kevin Sharp

unread,
Mar 27, 2026, 5:01:05 PM (4 days ago) Mar 27
to golden-cheetah-users
Thanks Ale.

After deleting and re-adding routes they are saved with 6 decimal places.

Ale Martinez

unread,
Mar 28, 2026, 11:32:12 AM (4 days ago) Mar 28
to golden-cheetah-users
El viernes, 27 de marzo de 2026 a la(s) 6:01:05 p.m. UTC-3, g...@rationalfraction.com escribió:
Thanks Ale.

After deleting and re-adding routes they are saved with 6 decimal places.

New routes are saved using the same format used for activities files (JSON) files, here is an example with an old route (ppqq) and a new one (VueltaRepu) showing the difference:
routes.xml

Ale Martinez

unread,
Mar 28, 2026, 4:20:26 PM (3 days ago) Mar 28
to golden-cheetah-users
It means up to 11 significant digits are used now, the real number depends on the data source, off course. The change was merged to master and it will be included in next builds.
Reply all
Reply to author
Forward
0 new messages