Site Update: Marching On

It’s been a crappy few weeks for me on the bike. I’ve been hit with Covid for, what, the fifth time now? Awful.

I’ve learned my lessons though: don’t get back on the bike too early, or you end up off the bike for longer. I’ve been taking it very easy in terms of activity, because even sudden movements – like laughing – cause bad coughing fits. As such I don’t think even light bike riding is sensible.

That has meant more time at the PC. Whether that’s good or bad, I don’t know.

And more time at the PC means more time spent trying (and sometimes succeeding) in making this site that little better.

In the last update I talked about the on-going issue whereby I’d localised all the climbs. Whoops.

In short that meant if you were in England, looking for a climb, you would see the site results in English.

bike climbs of england

Makes sense.

But if you were in Tenerife, looking for a climb up Mount Tiede, all the climb information would be in Spanish. Perhaps not what you’d want.

bike climbs in spain

Easily my biggest mistake (so far) when making this site.

Correcting this has been an absolute mission.

It involves a number of steps, the longest and most time consuming being asking Open Street Map for the location of every single active climb on the site. Twice.

Once for the localised version – e.g. the Spanish version if in Spain – and once again for the English version.

Multiply that by every climb on the site – of which there was 2.8 million – and then multiply that by the limitation that Open Street Map only allow 1 request per second, and you have … well, 64 days of non-stop requests, give or take.

Clearly, that wouldn’t roll.

Reducing(!) The Climb Count

It actually gave me enough of a pause to think about a second problem: how many of these climbs were duff?

So the climb info comes from Strava. Anyone can – and seemingly does – make a segment. And not all segments are created equally. Over time, old segments get pruned, or edited, or disabled, and new ones come along to replace them. On bigger climbs with multiple ways up, there can be lots of duplicates.

What I’ve done is modified the climb criteria now such that a climb would only be ‘valid’ if it has at least 1,000 or more riders, and 1,000 or more attempts.

That narrowed the total down to 700,000 climbs.

reduced climb count

That reduced the total number of requests I’ve had to make to Open Street Map down from ~5 million to 1.4 million, which is still insane, but is on track to only take 17 days instead of 64.

Infrequently I’ve been re-updating the main page and watching the total number of messy climbs come down.

As above you can see:

  • België / Belgique / Belgien (25)
  • Belgium (31,792)

The aim by the end of this is that only Belgium will display, and it will have ‘eaten up’ the remaining 25 climbs from the localised version.

Over time I will add back in the localised version, but for the initial release they are going to have gone.

That’s actually screwed up Google big time – because it’s indexed all the localised versions, so right now Google hates me:

google deindexed lots of bike climbs

Which shows that earlier this month when I made the first changes, Google started to cull about 100k worth of pages from its index. Ahh well. I figure short term pain, longer term usefulness of the remaining pages.

On the plus side, the changes I made around initially not displaying the Veloviewer have helped clear off all the things Google said were poor, and now I just had a bunch that “need improvement”:

google pages needing improvement for bikeclimbs.com

I’ve not even yet begun digging into what it’s moaning about there. But I will do. In time.

Overall though, really happy to see that generally things are looking better in terms of people’s page experiences.

Find My Location

As a heads up: this next feature won’t be available until the climb work above is released. Got to wait for those 17 days to go by still, with approximately 4 more yet remaining.

One thing I have finally added is “Find My Location”.

This is probably the biggest Wish List item I’ve had since I launched the site. Say I’m out cycling a bit further from home, and I want to find a nearby climb to tackle. The idea is I can fire up the site, click ‘find my location’ and see a bunch of nearby climbs to attempt.

It’s far from perfect, but as a first iteration I’m very happy with this.

Here’s how it looks:

bikeclimbs suburb view

This shows all the climbs in the local area. You can view these for any area, and you can scroll around the map and it will find the area you are looking at and prompt you to ‘go there’:

click to visit another region

Again, some improvements are needed to this process, but by and large it’s working pretty well.

In the top right hand corner there are two buttons:

  • Re-centre the map
  • Find my position

So ‘re-centre the map’ becomes active whenever you scroll around. It will do pretty much what you’d expect – it brings the map back to the centre of the region you are looking at.

The ‘Find my position’ feature works by asking your web browser for your current location.

On desktop this returns some whacko places – where ever your ISP lives I think. For me it returns some place south of Manchester, which is miles from Preston.

But on mobile it should be pretty accurate, down to about 5m of your current location, depending on how GPS is behaving. I’m looking forwards to testing this out in the real world.

MyWhoosh Achievements List

The other big thing I’ve got done during my illness is painstakingly listing out every MyWhoosh Achievement I am currently aware of.

I don’t know all the criteria for achieving everything. Only what I’ve personally managed – and remember, it starts from the release of v3.6.0, and doesn’t give credit for anything prior to that.

mywhoosh achievements list

I also want to do the same for all the MyWhoosh maps and routes. Not had time for that just yet though.

Anyway, those are all the things I’ve been working on lately.

I can’t wait to actually push out the big climb / location update. Every time I think I’m there, I spot another mistake. It is what it is, and it will be done when it’s done.

2 thoughts on “Site Update: Marching On”

  1. Hey Chris,

    I super appreciate this website and all the effort you’ve put into building and maintaining it. I totally understand the desire to cut down on the number of climbs and duplicate segments. I wanted to give some feedback if you don’t mind. The 1000 attempts or 1000 athlete criteria to be included in the website is a bit to rigid for a couple ways I was using the site. I’m from a pretty small town <60,000 people but it has tons of climbs. I think because of your criteria there are many local climbs that are excluded just because we don’t really have that many riders riding them nearly all of our incredible climbs are now excluded even though we have some of the best climbing in our region. I was often using the site to find climbs off the beaten path but since those don’t have enough attempts they’re excluded.

    Another use case is when I’m traveling. . Last year I found two incredible climbs using your website and one was my largest climb to date. (thank you very much!) I’m going back this year and I went to check the county and none of those climbs are there anymore. This is a town with less than an thousand people and there’s just no way for any of these segments to rack up the 1000 criteria.

    Again, thank you so much for building this I imagine it’s quite the passion project and I’m super grateful. I just wanted to give some feedback for some of my use cases for low population areas. Thanks Chris!

    Reply
    • Hi Kamal,

      Thanks for your comments & feedback, much appreciated.

      I’ll be completely honest – I had not thought (at all) about the issues your highlighting. Sorry about that!

      In the first instance, can I ask which country (or countries) you are having the issues with? The reason I ask is that I can prioritise these when fetching the addresses for any new (or, missing) climbs.

      Secondly, as you correctly guessed, this is really a hobby site and it’s actually nice to hear that others find it useful. When I made this change I managed to absolutely destroy my site from Google’s point of view. That has meant the number of people coming from Google search results has basically fallen off a cliff. I think it’s down to about 3 to 5 a day at this point. Super demotivating in many ways. I mean, it was never massive by any means, but it got decimated after I changed everything.

      I will add them back in for sure. I will see if I can do them in batches – maybe drop down from 1,000 to 900, and then process all them, and try and do it that way. It’s completely reliant on third party services for the address lookups, so I’m at their mercy with regards to how quickly I can process them, unfortunately.

      But yes, thanks again for the feedback, sorry for making things worse, and I will get on with fixing it for you 😀

      Chris

      Reply

Leave a Reply