Copying 'bike' segments across to 'E-Bike" activity type

Feature request on segments for E-Bikes.
 
As you well know, there's a burgeoning e-bike community out there...i've just purchased my 1st e-MTB and having had (and still have) a normal MTB, it would be really beneficial to us if we could have a copy function to copy segments across from 'bike' activity type to 'e-bike’ in Strava. We're running the same routes and would be good to have our own class.

 

This will stop some e-bikers from saving their rides under the wrong type and hence upsetting the regular bikers out there. Plus we can have our own class and challenges in the e-bike category using the same existing segments.
 
It would allow everyone to see what the direct comparison between ebike and normal bikes is on the same segments which would make for good chat between all types of mountain bikers. It can only be positive for harmony in the sport.. I imagine that some people will have started making ebike segments already however they will no doubt be different to the normal ones making them kind of meaningless. If we have the copy function they could be colour coded so that you can see the segments where there is a corresponding normal bike segment.
 
Vote, if you think this is a good idea!
 
83

Комментарии

Комментариев: 59
  • I canceled my subscription as a result of this incompetency. Up until recently, I was using an Edge 520 that would automatically reflect my rides as e-bike rides (probably because I configured them as such on the Garmin end of things). I upgraded to a Wahoo Elemnt and now all my rides default to regular (bike) rides and I honestly don't care enough to manually go into the Strava app and manually switch the ride type to "e-bike ride".

    This is a pretty easy feature to implement that would solve a lot of contention and headaches. It's fascinating to watch a tech company shoot themselves in the foot like this.

     
     
     
     
     
     
    1
    Действия с комментариями Постоянная ссылка
  • I've only been riding an e-bike 2 weeks now and have been flipping my rides to e-bike only to watch all the segments disappear and then maybe 2 or 3 segments that pop up that are NOT like the real segments in start or finish points.  It's pretty frustrating the Strava refuses to do something about this.  So I think I'm just going to do something myself and stop tagging my rides e-bike.  Maybe we should all do that until they get the message.  At my age of 70 I'm not going to get any KOMS anyway unless I really push hard in boost mode to do so.  Eco is what I run most of the time.  I would probably make my e-bike my go to ride instead of just my recovery ride except e-bikes are foolishly lumped into the "motorcycle basket" on many trails that I like to ride.

    -1
    Действия с комментариями Постоянная ссылка
  • I just bought my first ebike and went on tour on my homespot. Expecting to see the difference to the segment-times with my cc-race-bike after it, i looked at my strava feed and saw: NOTHING! I rode a 50km tour with at least 20 strava-segments, and after changing activtiy to ebike-ride there wasnt even one left. i was confused, but after reading this threat i see clear now. Go out, buy premium-accounts and set new ebike-segments... i hope there will happen something.

    0
    Действия с комментариями Постоянная ссылка
  • I'm not going Premium and spending a dime without any kind of support or response on this. Sharing existing segments makes sense not only for e-bikes, but for any activity. Comparison of any kind is rendered useless when the segment is not exactly the same. I don't care about KOM or leaderboards personally, but it would be a nice feature to be able to time ourselves on the same segments we traverse regularly regardless of activity type....just separate the times per activity. 

    If they don't do it.....its a perfect opportunity for a developer to swoop in with a new app, provide some support and then cya later Strava.

    @jon_hcor

    0
    Действия с комментариями Постоянная ссылка
  • KOM - QOM - EKOM - EQOM. 

    How hard is it really? 

    1
    Действия с комментариями Постоянная ссылка
  • I definitly would appriciate this. I really like to see my e-ride in comparison to other e-bikers without disturbing the bio-biker lists.

    0
    Действия с комментариями Постоянная ссылка
  • Has anyone else noticed that the elevation increases by at least 10% when you switch a ride from bike to e-bike?  What is going on there?  I didn't pay attention to the mileage but that might be changing too I bet.  

     

    1
    Действия с комментариями Постоянная ссылка
  • I have recently purchased an e-Mtb also and love the extended distance I get on rides but don’t love the lack of segments. I have made some segments of my own for the e-Mtb’s but when I search segments it only shows normal ride ones. Surely by now something can be done?! I also had 8 of my last 12 rides flagged as I left them as normal rides to be able to copy segments across to e-Mtb ones when I have time. People obviously didn’t like that so put their 2p’s worth in so I had to change them all back. Come on Strava, even just an e-Mtb segment search function would be a start.

    0
    Действия с комментариями Постоянная ссылка
  • I think the solution to this is not to create special segments for e-bikes but to have an option in the Segments display to filter on Ride, E-Bike Ride or All. so that you could compare your ride accordingly.

    1
    Действия с комментариями Постоянная ссылка
  • Ebike could get messy with the 3 classes. Class 1 are limited to 20mph, but require rider effort. Class 2 are limited to 20 but have a throttle, Class 3 requires rider effort and is limited to 28mph.

    -1
    Действия с комментариями Постоянная ссылка
  • Add my name to list to copy segments. Am on a road ebike for various different reasons age and health. Would like to compare my efforts from ride to ride as previously on my regular bike. I am not really into what others are doing but would like to see my own results.

    0
    Действия с комментариями Постоянная ссылка
  • Same here. As eMTB riders will grow quickly, STRAVA really need to fix this or will loose market share to TrailForks and others...

     

    0
    Действия с комментариями Постоянная ссылка
  • I am disgusted by the refusal of Strava to acknowledge and try to rectify the issue with segments not showing up when you put in 'e-bike' as your activity. I have been riding an ordinary mountain bike for years but have recently purchased an e-bike to try to reduce the pressure on my full knee joint replacement which I now have for 13 years and I certainly don't want to go through the pain of another replacement. Why can Strava not allow me to copy across the segments which I was using on my mountain bike? I think I'll be cancelling my subscription shortly!!!

    0
    Действия с комментариями Постоянная ссылка
  • This is horrible, Strava. Way to take care of your customers.

    0
    Действия с комментариями Постоянная ссылка
  • Strava provides minimal positive social benefits.
    I have stopped tracking rides and guess what. Life went on.
    Yet another benefit to Ebikes. No Strava.

    0
    Действия с комментариями Постоянная ссылка
  • In the absence of Strava doing something on their own to fix this, I've written a little javascript user script to automate the process. I'm a programmer but not a javascript expert, so sorry for any bugs - it works for me, at least! Don't panic too much if the script accidentally create a segment you didn't want - as long as it's yours, you can delete it, or change it from private to public (but NOT the other way). Also keep in mind that Strava limits you to creating 10 new segments a day.

     

    Anyway, to use it, all you need to do is:

    1. Download tampermonkey (https://www.tampermonkey.net/) or another userscript manager

    2. Open this link (https://github.com/nickbeeton/garminstuff/raw/master/Convert%20bike%20segments%20to%20ebike%20segments%20on%20Strava.user.js)

    On tampermonkey at least, it will automatically ask you to install the script, so just click "Install"

    3. Open any ebike ride on Strava - it should show you a couple new buttons titled "Copy Bike Segments to PUBLIC Ebike Segments" and "Copy Bike Segments to PRIVATE Ebike Segments". If you press one of these buttons, the script will briefly change your ebike ride to a bike ride, look at the list of bike segments on your ride, then change your ride back to ebike and try to create ebike segments with the same names and locations as the bike ride segments. You can open the developer console (Ctrl-Shift-I) to see if it failed for any reason - it will refuse to create an ebike segment that's too similar to one that exists already.

     

    Let me know if it works for you, and what you think!

    2
    Действия с комментариями Постоянная ссылка
  • Hi! Is there any update on this topic? It’s very frustrating to see dozens of regular bike segments along the route and only a couple of segments for an eBike:(

    0
    Действия с комментариями Постоянная ссылка
  • I think if people put half the effort into making new ebike segments as they do complaining about there not being enough ebike segments, the problem would solve itself.

    0
    Действия с комментариями Постоянная ссылка
  • Awesome Nick.

    0
    Действия с комментариями Постоянная ссылка
  • Nick's thing works, but then Strava says "Sorry, you have created or edited too many segments. Please wait 22 hours and try again."

    So Strava is blocking the utility of this. Strava - please raise the limit.

    0
    Действия с комментариями Постоянная ссылка
  • Robert, how many segments were you able to edit before it blocked you?  I think Nick's post says you can do 10 segments a day.  Thanks

    0
    Действия с комментариями Постоянная ссылка
  • What happens if the segment has already been created - does the javascript realise that and seek a segment that has not been created?

    0
    Действия с комментариями Постоянная ссылка
  • Yeah, it doesn't make the segment if it's too close to one that already exists. Occasionally a duplicate might sneak through so it's worth checking after the script has run

    0
    Действия с комментариями Постоянная ссылка
  • I had to move the 2 window2.close() calls to inside of the setTimeout()s because the script seemed to often close the window before the server actually processed the form post requests and then the script would crash.

    Also worth noting, you might want to update the script to simply not attempt to save segments when another existing segment already exists with an identical name -- Otherwise, in current form, duplicates do sometimes get created because start and end coordinates aren't always an exact match between the ride used and the existing non-ebike segment.

    Great script otherwise.

    0
    Действия с комментариями Постоянная ссылка
  • Great Christopher.  Is there an updated version somewhere?

    0
    Действия с комментариями Постоянная ссылка
  • Hi Christopher, thanks for that - do you mean move the calls to *outside* the setTimeout()? Let me know and I'll fix it up (or if you want, feel free to push an update on GitHub and I'll approve it). Also good point on the identical names thing, not sure why I didn't do that already - maybe because sometimes people create different nearby segments with the same name, but I can't imagine that'd be common so I can update the code to do that too if you still reckon it's worth it. I did set a buffer for start and end coordinates (window.distbuffer = 10) to disallow close start and end coords to try and limit that problem, but it might need bumping up. I'll make it 15 in the next version :P

    0
    Действия с комментариями Постоянная ссылка
  • Strange, my earlier response got deleted. It had the code changes.

    Nick, what I meant about the window2.close() is pasted just below. That gives the server 5 seconds (defined by your 5000 milliseconds on the existing setTimeout) to process changing the Ride to E-Bike Ride. Although I changed 5000 milliseconds to 10000 milliseconds everywhere because the 5 seconds seemed to randomly at times not give the server enough time to process the request.

    var window2 = open(window.document.URL+"/edit");
    window2.focus();
    window2.onload = function() { // once it's loaded, change it to bike and save
    window2.document.getElementById('activity_type').value = "Ride";
    window2.document.getElementsByClassName('btn-save-activity')[0].click();
    //window2.close(); // move this line to the first line of the following setTimeout
    };

    setTimeout((window.g = function(){
    var window3 = open(window.document.URL);
    setTimeout((window.h = function(){
    window2.close(); // moved here from 7 lines up
    ...

    There are other calls to window2.close() which also were causing the script to crash for me and I replaced them with:

    setTimeout(function(){
    window2.close();
    }, 3000); // the milliseconds specified here must be low enough that this gets called and finished prior to the code loop reaching this method call again
    1
    Действия с комментариями Постоянная ссылка
  • And if anyone wants to prevent creating segments with duplicate names they can simply paste the following code above the line containing "if (window.clash){"

    if (!window.clash) {
    for (j = 0; j<window.namesorig.length; j++) {
    if (window.names[i] == window.namesorig[j]) {
    window.clash = true;
    console.log('Existing E-Bike segment with identical name (' + window.names[i] + ') already exists.');
    break;
    }
    }
    }
    1
    Действия с комментариями Постоянная ссылка
  • Thanks again Christopher! I've updated the code on github. Fred (and anyone else who already has the script), all you need to do to include these fixes is go back to the link:

    https://github.com/nickbeeton/garminstuff/raw/master/Convert%20bike%20segments%20to%20ebike%20segments%20on%20Strava.user.js

    And tampermonkey will recognise that changes have been made and offer to reinstall it for you.

    3
    Действия с комментариями Постоянная ссылка

Войдите в службу, чтобы оставить комментарий.

Не нашли то, что искали?

Новая публикация