Heatmap activities

303 views
Skip to first unread message

Guido

unread,
Feb 2, 2022, 6:40:01 AM2/2/22
to golden-cheetah-users

Last week I needed to find an activity I did about 4 years ago. I knew the region it took place but not the exact location, so I used all kinds of search/filter options to find the activity but no success.

Many years ago, when I started gathering my training-data I used SportTracks and it had this nice map-fuction where all the activities were shown on the worldmap, kinda like Strave does today with his heatmap but only a bit simpler, so you could easily see where you have been and find a certain activity.

It would be really nice if GC had this functionality too, just a simple map with the starting-location of the activities. 

Is this possible? Or beyond the scope of GC?


TIA

Guido

RoKA

unread,
Feb 2, 2022, 8:18:15 AM2/2/22
to golden-cheetah-users
The functionality is available under "Tools" -> "Heat Map Creation".

Win10: The resulting file HeatMap.htm is under C:\Users\USERNAME.

Unfortunately it is using the Google-Map API. Google Map is only supported if you have a Google API Key.
Therefore GoldenCheetah has moved from Google-MAP to openstreetmap in MAP-functionality.

Obviously Heat Map isn't a top functionality and no user missed the Google-MAP dependency.

Regards
Rolf

Guido

unread,
Feb 2, 2022, 8:43:46 AM2/2/22
to golden-cheetah-users
Thanks for pointing me to this tool, it's partly what I'm looking for.

To bad it's not interactive so you can get a date or a link for the activity and that it uses the Google-map API, but it's better then nothing :-)

Is there a way you can change the code so it uses the Openstreetmap?


Guido

Op woensdag 2 februari 2022 om 14:18:15 UTC+1 schreef RoKA:

Ale Martinez

unread,
Feb 2, 2022, 9:45:15 AM2/2/22
to golden-cheetah-users
El miércoles, 2 de febrero de 2022 a la(s) 10:43:46 UTC-3, Guido escribió:
Thanks for pointing me to this tool, it's partly what I'm looking for.

To bad it's not interactive so you can get a date or a link for the activity and that it uses the Google-map API, but it's better then nothing :-)

Is there a way you can change the code so it uses the Openstreetmap?

This would need changes to the C++ code and a new build, but I think this is functionality is mostly obsolete and a better solution would be to create a Python chart for this functionality, in fact there is a contributed one for download from CloudDB:
HeatMap.PNG

Guido

unread,
Feb 2, 2022, 10:41:03 AM2/2/22
to golden-cheetah-users
Thanks, I'll check that out

Guido

Op woensdag 2 februari 2022 om 15:45:15 UTC+1 schreef Ale Martinez:

Chris Cleeland

unread,
Feb 3, 2022, 2:18:17 PM2/3/22
to golden-cheetah-users
If you don't care that the feature be available inside Golden Cheetah, and if you regularly upload your rides to strava anyway, I'll suggest checking out the "wandrer.earth" website.  It has exactly the feature you seek--you can zoom in on a section of a map and mouse over it to see on which rides you traversed that section of road.

--
_______________________________________________
Golden-Cheetah-Users mailing list
golden-che...@googlegroups.com
http://groups.google.com/group/golden-cheetah-users?hl=en
---
You received this message because you are subscribed to the Google Groups "golden-cheetah-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golden-cheetah-u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/golden-cheetah-users/8e2ffd00-1daf-48f3-9d19-9ed64b088a0bn%40googlegroups.com.


--
Chris Cleeland

Guido

unread,
Feb 7, 2022, 7:39:29 AM2/7/22
to golden-cheetah-users
Thanks for the tip, but I'm not looking for yet another app/site to upload my data too for some fuctionality.

Op donderdag 3 februari 2022 om 20:18:17 UTC+1 schreef Chris Cleeland:

Peret

unread,
Dec 15, 2023, 11:26:36 AM12/15/23
to golden-cheetah-users
I have uploaded to CloudDB a heatmap chart: Python HeatMap with Folium

It is based on 'Custom heatmap with folium V1 (Py)' by RB
Image.png

It uses sparse matrices from scipy package to be fast and not need a huge memory. It can process a thousand od activities in a few seconds: the biggest amount of time is devoted to fetch the data; once it is read, the map is generated very quickly; the python console shows the tmes involved in case you want to look at them; and if you show me how to improve the fecthing of activities data, I would be very grateful.

The only additional packaged that needs to be installed is folium; the other dependencies are recommended by GoldebCheetah: pandas, numpy and scipy. Also, it works with pandas 1.2.3 (the 'official' version for GC), and also with 1.3.5 (pandas versions break compatibility in some cases, so it is convenient to check with speific versions)

The points of all activities are 'concentrated' and mapped in squares of about 0.5x0.5 km, so the memory needed to manage millions of points is not big and be dealt with no issues, as far as I have tested.
There are a few layers that can be swithed from one to another.
Weights are not taken into account in folium, so it is not a real heatmap. They propose to use HeatMapWithTime() function, but it may add complexity and functionality not needed (or perhaps it is even nice to have a slide bar for the time). It is a pending improvement for this chart.

Ideas or comments are welcome. My knowledge about map libraries is limited to the research I have done for this chart, but I can try to help to improve if necessary. Regards
Reply all
Reply to author
Forward
0 new messages