The Crap-O-Surface Detector

Even in this day and age, the roads the general public cycle on are riddled with potholes, speed humps falling over themselves, or general unevenness around man hole covers and drains. I’m fed up with having to look at the road in front of me for these bicycle damaging unevenness and potholes instead of at the surrounding traffic, which to be honest is more important.

There is already a service in the UK for reporting these defects to the local council, called FixMyStreet. There is even have an iPhone app for reporting problems while on the ground. However I felt that not enough people knew about FixMyStreet, and even fewer were reporting problems. So I decided to come up with a way to automate these reports to the local councils even further.

I believed that these uneven roads could be crowd sourced through recording a GPS track, and a storage of seismograph by using the accelerometer in the iPhone or iPod Touch. These tracks are merged together and tied to the road network automagically, now that there are enough tracks in the system, analysis is running constantly to find places where many people regularly have a high vibration, when flying over a speed hump, or just about halted as though you have hit the kerb straight on by finding a conspicuous pot hole in the middle of a bus lane, about one bus length away from a sunken drain.

Some of the crowd sourcing community have taken this a step further and provide a video stream of the whole cycle ride, which again is synced up with the GPS trace, and used as evidence of poor quality road surface. The whole sync process is done automagically after you upload. It is even more accurate if you up load a photo of the time on the GPS and the seismometer.

OpenStreetMap is now using this data to enter all the traffic calming, in a few months time the Crap-O-Surface Detector service will start automatically suggesting places where there are speed humps, and giving the appropriate, err smoothness tag* for every road.

CycleStreets have found the data to be so good, that they have decided to postpone implementing traffic lights, specific routes, fixing the OSM to Cycle Streets types, and of course hill avoidance, in favour of using the data from the Crap-O-Surface Detector service. Don’t worry, all the other items are still on the todo list.

So I’m please to announce that the Crap-O-Surface Detector is now out of the private pre-Alpha, and today entering the Beta stage in the software cycle, please head over to to see how you can participate, while watching more roadworks in the places that really, really need them. Once the roadworks are gone, you should (if the council contractor has been doing their job properly) see a marked improvement in the road surface.

Cycling: Glasgow to Edinburgh

On Thursday evening, I took the train over to Glasgow for the Scotlug meeting. There was an interesting presentation about phidgets. Afterwards I went along with the other geeks to the pub to grab something to eat and have a natter. I’ve even now seen an iPhone (not just in pictures), though not yet had a chance to play with one.

After 11pm, I set off back to Edinburgh. On my bike. I could have taken the train, but that would have cost more and I was needing the challenge of cycling over night home.
I headed North from George Square to the Glasgow spur of the Forth and Clyde Canal. I then followed the Forth and Clyde Canal, the whole way to the Carron Sea Lock, where I then hit the road for the rest of the way home (except the cycleway parallel to the A90 from Dalmeny to the Crammond Brig pub, where cyclists are not allowed on the trunk road).

By the time I was nearing South Queensferry, first light was starting to show. See the picture below, where you can just about make out the towers of the Forth Road and Rail Bridges.

From 20070727Glasg…

The journey took 5 hours, and was about 53 miles in length. It’s not very often you’ll see me arriving home at 4:20 am.

The greatest thing about cycling at night is that the roads are really quiet, especially after 1am. It also makes cycling on the bigger roads a lot easier, and saves you from having to use the quieter and hillier routes. It can also be faster as you don’t have to deal with other traffic or air turbulence caused by other traffic.
I’d be quite happy to do it again, as long as I don’t need to get up the next day before lunch time.