Responding quickly to feedback for Cycling Guide routes

An urban street scene with cars parked at the side of the street. Between the street and the sidewalk there is a raised cycleway.

David Trueman, of CycleWR, wrote at the Zeitspace blog recently about OpenStreetMap (OSM) and why we use its data in Cycling Guide. One of the reasons is that we can update OSM as new cycling infrastructure opens in the real world or as we discover issues in its data. Here’s how data-related improvements to our routing happen.

A big part of our testing early on was riding our bikes and experiencing Cycling Guide routes directly ourselves. That doesn’t scale, though, and we invited other people to get early access to Cycling Guide in order to test it and provide feedback. That testing has been a great success, especially in revealing issues in our routes. Here’s a recent example of feedback from one of our early access testers: 

King St between Marshall and Regina is finished construction and has above grade bike lanes that are pretty good although you have to be cautious of pedestrians and parked vehicles. Routes are avoiding that section and taking inferior streets .

I’d been watching King Street North in Waterloo over the summer wondering when the opening would happen, and hadn’t realized that it had. Neither had David. He checked OSM and saw that there was nothing in its data yet about the new north-bound and south-boud cycleways. It was time for a quick reconnaissance trip. I cycled over to King Street South and Willis Way, and from there headed north on the dedicated cycleway. And as reported by our Cycling Guide tester, the new section is now open and I was able to ride all the way to University Avenue. I was able to ride back as well on the southbound cycleway, with the exception of a short segment between University and Bricker.

Having confirmed the physical state of this bit of the world, I let David know. He made an update in OSM, which is now awaiting review by other OSM contributors. We’ll see those cycleways on Cycling Guide routes and maps soon.

But updates to OSM aren’t the only way that we improve our cycling routes. We’ve had multiple testers let us know about rough trails that aren’t really suitable for many cyclists. They’re not appropriate for cargo bikes, or bikes pulling trailers, or simply just for less-experienced or less-confident cyclists. Here’s one report:

Route did not suggest going directly down Doon South but rather to take a trail just after Winding Wood Cres. The trail had an intense, steep hill that would be challenging for most cyclists.

To address this recurring issue, we’ve been updating the way that we process OSM data for use in our routing. As a result, we’re avoiding more and more of these kinds of rough trails. As I’ve mentioned previously, reports of real-world experiences from our group of testers is a big part of making sure that Cycling Guide routes are as good as they can be.

Here’s part of another recent example of a routing challenge that was quite tricky to diagnose, but simple to resolve:

I’m surprised that it didn’t suggest using the bike paths north of University Ave (near MacGregor Cres.) since that route takes about half the time and has less interaction with cars. I’m wondering if this route was intentionally avoided or if those paths just aren’t included in the map. 

The routes that Cycling Guide provided in this case were far more indirect than they should have been, and it wasn’t at all clear why. This one was trickier to track down, but it eventually turned out that in the OSM data one short segment of the Laurel/Forwell Trails didn’t explicitly allow bikes, while all the other segments do. That prevented Cycling Guide from using those parts of the trails. This feedback resulted in another quick OSM update by David (again, pending review by other OSM contributors).

Sometimes we get reports of problems that are already close to being addressed. Here’s some recent feedback we received from another of our early access testers:

The road from Wellington at Walter to Park St, that runs between the GRH helipad and the badminton club, is a private road with gates. A route tried to take me through there today, but it is not passable.  

I checked, and the issue was that we weren’t handling that private road correctly. That is, the OSM data is correct, but the way we were processing it needed improvement. The good news is that I checked with the newest internal routing data, and confirmed that we already have a fix that excludes private roads like this one from routing. That fix will be out in the world soon.

Engaging with people who joined our early access to Cycling Guide group has been, and continues to be, a great success. Sometimes the problems people have reported have fixes that apply across the Region because of improvements in how we process OSM data. Sometimes the fixes are to OSM data itself. In all cases, though, the result is better cycling routes for everyone.

If you’re interested in getting early access to Cycling Guide yourself, sign up right now at CyclingGuide.app. We’d love to hear from you.

This post originally appeared on the Zeitspace blog.

Why Does Cycling Guide Use OpenStreetMap?

A map of Kitchener Ontario, with a green line representing a cycling route. The line enters at the top of the map and ends by a large black marker in Victoria Park.

Some of you will have been following along as we work with CycleWR to create Cycling Guide. It’s a big project, with plenty of work to do to bring it to Waterloo Region. One of our close collaborators has been David Trueman of CycleWR, who among other things brought to the project an appreciation for and deep understanding of OpenStreetMap. In this guest piece, David shares more about OSM and its importance to Cycling Guide. 

I want to tell you more about how Cycling Guide is built atop OpenStreetMap (OSM.) First of all, what is OpenStreetMap? 

OSM is a map of the world, created and maintained by volunteers and free to use under an open license. OSM provides map data for thousands of websites, mobile apps, and hardware devices. Virtually every online map that you see, other than Google, is based on OSM. That includes Apple and Facebook.

OSM is the Wikipedia of map data. Not only is it free to use but any member of the public is free to update it to add to or correct local information.

OSM is well aligned with one of the goals of Cycling Guide: to provide a hyperlocal resource for anyone who would like to find their way on a bicycle in Waterloo Region, no matter what their experience or confidence level. Cycling Guide will be open-source software; the source code will be available to examine and use by anyone who wants to.

Open data, open source software, open knowledge and OpenStreetMap share a common theme: we can and should all benefit from community efforts rather than having the fruit of those efforts locked up for private benefit. If knowledge of prior intellectuals had not been openly available, Isaac Newton would not have been able to declare in a 1675 letter: “if I have seen further [than others], it is by standing on the shoulders of giants.”

So, that’s all the theory. How is OSM working out in practice?

First of all, the map data in OSM is remarkably complete and accurate (although not perfect!) This means that, as we tune Cycling Guide’s handling of the OSM data, the app is generating fantastic routes that, wherever possible, avoid the need to travel with heavy traffic.

Because Cycling Guide volunteers can directly change the OSM data, we are able to add new cycling facilities right away. We observed this directly with the new Farmer’s Market Trail. On the day the trail officially opened, we were already generating routes that use it — long before the apps from big companies which don’t have this tight local connection.

More often we are able to fix small inaccuracies quickly. Just the other day I was using Cycling Guide and noticed it was directing me to ride on the sidewalk on a quiet local street. It turns out that the OSM data for that sidewalk was wrong and I was able to correct it the same day.

Feedback from users is prominently featured in Cycling Guide, and our intention is that when users report less than optimal routing, we will be able to make corrections in a timely way and demonstrate results

Like Wikipedia, we have the benefit of peer review to ensure accuracy and consistency. On more than one occasion I have made a small error in my OSM changes and other local OSM editors have been quick to point out the error so I can correct it.

When you sign up for early access and use Cycling Guide, now you’ll know that you will be standing (riding?) on the shoulders of giants.