Locus Map - forum

Content & Tools => POI's => Topic started by: Tomáš Janoušek on March 02, 2015, 21:01:39

Title: [KML/netlink] Strava Segments
Post by: Tomáš Janoušek on March 02, 2015, 21:01:39
Hi, inspired by the Panoramio KML (http://forum.locusmap.eu/index.php?topic=3806.0) I created a similar thing for Strava segments (https://strava.zendesk.com/entries/20945952-What-are-Segments-): https://github.com/liskin/strava-segments-kml

Hope it's useful for someone else as well :-)

(https://cloud.githubusercontent.com/assets/300342/6444194/40876958-c0fc-11e4-9df7-ed38d795f587.png) (https://cloud.githubusercontent.com/assets/300342/6444108/b4c72df4-c0fb-11e4-9ef1-9607f7503533.png) (https://cloud.githubusercontent.com/assets/300342/6444195/40a3fa32-c0fc-11e4-8444-0e59811dc72c.png) (https://cloud.githubusercontent.com/assets/300342/6444109/b4c9f052-c0fb-11e4-8636-55e23b21735a.png) (https://cloud.githubusercontent.com/assets/300342/6444196/40b4626e-c0fc-11e4-8443-d4d0791f98e1.png) (https://cloud.githubusercontent.com/assets/300342/6444107/b4c6f622-c0fb-11e4-9dd1-e364569393bb.png) (https://cloud.githubusercontent.com/assets/300342/6444197/40ba6bb4-c0fc-11e4-87fa-67ed80be70ef.png) (https://cloud.githubusercontent.com/assets/300342/6444110/b4e3adbc-c0fb-11e4-8fbc-a3060bdef0a3.png)
Title: Re: [KML/netlink] Strava Segments
Post by: gynta on March 02, 2015, 21:55:39
Quote...Strava segments...
Ehh... ???
...and what is a "Strava segment" ?
Title: Re: [KML/netlink] Strava Segments
Post by: Tomáš Janoušek on March 02, 2015, 21:59:03
Quote from: gynta on March 02, 2015, 21:55:39
...and what is a "Strava segment" ?

Well, you're not a Strava user, are you? :-)

Anyway. here's a description: https://strava.zendesk.com/entries/20945952-What-are-Segments-

(I added a link to the original post as well)
Title: Re: [KML/netlink] Strava Segments
Post by: gynta on March 02, 2015, 22:05:35
Quote from: Tomáš Janoušek on March 02, 2015, 21:59:03
Well, you're not a Strava user, are you? :-)
Rrrright!  :D
Quotea description:
Thx  ;)
Title: Re: [KML/netlink] Strava Segments
Post by: chbla on March 03, 2015, 10:00:54
Very nice, thanks a lot!
Title: Re: [KML/netlink] Strava Segments
Post by: rwxrwxrwx on July 20, 2015, 19:55:49
Thank you! Its very useful
Title: Re: [KML/netlink] Strava Segments
Post by: AX3L on August 04, 2016, 06:59:15
This seems very useful indeed, the accuracy and usefulness of Locus with strava segments. I can't get it to work though, and I'm not sure if I can download the actual kml as I get an error when I press the link. If someone could give a hint on how to get and use the kml I'd really appreciate it! Just download all of the files and put I'm the folder didn't work :(

Axel
Title: Re: [KML/netlink] Strava Segments
Post by: plissk3n on August 15, 2016, 19:14:54
When I only used my smartphone, I couldn't get it to work either. I took a PC and did the following:

1. Go to Strava.com and log in
2. Go to https://nomi.cz/strava/ and click the kml link
3. Authorize Strava the needed permission
4. Download the kml file
5. Copy it on the Smartphone (USB, E-Mail, Dropbox etc.)
6. Using a file explorer on android move the kml file to .../Locus/mapItems/ (My path was for example /extSD/Android/data/menion.android.locus.pro/files/Locus/mapItems/
7. In Locus go to the menu where you can see you points and tracks, there is a third tab, there you can select you kml file, if its not showing restart Locus or find the correct Locus folder  :P
8. Move the map a bit to trigger the download
Title: Re: [KML/netlink] Strava Segments
Post by: AX3L on September 03, 2016, 11:52:22
Quote from: plissk3n on August 15, 2016, 19:14:54
When I only used my smartphone, I couldn't get it to work either. I took a PC and did the following:

1. Go to Strava.com and log in
2. Go to https://nomi.cz/strava/ and click the kml link
3. Authorize Strava the needed permission
4. Download the kml file
5. Copy it on the Smartphone (USB, E-Mail, Dropbox etc.)
6. Using a file explorer on android move the kml file to .../Locus/mapItems/ (My path was for example /extSD/Android/data/menion.android.locus.pro/files/Locus/mapItems/
7. In Locus go to the menu where you can see you points and tracks, there is a third tab, there you can select you kml file, if its not showing restart Locus or find the correct Locus folder  :P
8. Move the map a bit to trigger the download

Thank you! But that's the thing, when I go into nomi.cz/strava and press the link to the KML I either get to the strava logon page (if I'm not logged into strava) and if I'm logged in/log in with my information I get an error 400 in internet explorer and the text "when expecting a Text, encountered Null instead" in Chrome. And by kml file, do you mean only that file or all of the files associated to it?

If anyone could upload the kml file again I'd very much appreciate it, because I think that I gave the app permission to use my strava last time. I didn't get the KML that time though.

Many thanks in advance!
Axel
Title: Re: [KML/netlink] Strava Segments
Post by: skwal on July 27, 2017, 20:40:49
can someone tell me how i can chance the color und look of the segments?
Title: Re: [KML/netlink] Strava Segments
Post by: Michal on July 28, 2017, 09:55:56
Color and other style of the segments can be changed after copying them to Locus. Otherwise contact Tomáš Janoušek, author of the script.
Title: Re: [KML/netlink] Strava Segments
Post by: Kay Cichini on August 24, 2021, 12:12:35
Thank you Tomáš Janoušek!

This is awesome!! And still works on my Locus 3.5:)

Cheers,
Kay