Shaun McDonald's Blog

My Random Ramblings

 

September 2010
M T W T F S S
« Aug    
 12345
6789101112
13141516171819
20212223242526
27282930  

My Most Recent Flickr Photos

www.flickr.com
smsm1's items Go to smsm1's photostream

Random Flickr Photos

www.flickr.com
smsm1's items Go to smsm1's photostream
  • With the English bank holiday weekend (Scotland has the August bank holiday on the first Monday instead of the last), I thought that I would go for one of my longer cycle rides and see if I could beat my previous record of 150 miles. On the Saturday morning I packed the 4.5 litre of water, home made pasta, chocolate and extra clothing layers into my panniers. I finally got going at 1pm, which was a lot later than I was expecting.

    The first part of my journey was heading north to the River Thames on the Waterlink Way/National Cycle Route 21. Then I followed the Thames to the Woolwich ferry using the NCN4 and 1. I decided to add a little extra adventure to my journey by crossing the River Thames a couple of times. First using the Woolwich Ferry to get to the North bank, which is free. Then following a part of the new Cycle SuperHighway 3, which is a rebranding of the previous cycle path that it runs along, to head east towards my next crossing. To get back to the South bank of the Thames, I used the Dartford crossing. You can’t cycle over, however a free pickup truck service is provided to take cyclist and bike over to the other side.

    After a nice chat about traffic and cycling with the traffic officer who took me across, I then re-joined the National Cycle Route 1 most of the way to Whitstable. I decided to follow a straighter new cycle route from just before Gravesend to Strood, which is part of the old A2 prior to it being upgraded.

    Shortly after Sittingbourne while following the NCN1, I seen on the right hand side of the road a car with the two door windows smashed a couple of people and another vehicle, which looked rather unusual. I continued further up the road until I was out of sight, as I didn’t know how they would react and then reported the car break-in to the police via a 999 call. As I didn’t know how to describe my current location well, thus I took a photo of the screen on my phone (which ended up against my face while talking thus unable to look at the screen) with the latitude and longitude, and gave the lat/lon to the operator, which worked. On Sunday afternoon I got a phone call from the police following up with some clarifications to the useful evidence. They were pleased that I had phoned in the incident as a witness as most people would have just turned a blind eye.

    A bit further down the road I stopped to eat some of my pasta, and suddenly some dark rain clouds came over and the heavens opened. Luckily it was just a fairly short shower and I had managed to find a bit of shelter for it to pass. It did worry me a bit as to how much more rain there would be for the rest of my journey. Luckily once that cloud passed it was clear for the rest of my journey.

    From Whitstable I followed the coast, much of which was on the path or promenades that runs along the edge of the sea. As I was getting into Ramsgate at about 2 am after 107 miles, I was getting too tired to be able to continue the rest of the night further round the coast safely, so I found a nice bench and shelter overlooking the sea to put my head down for a few hours. Luckily I had a towel with me that I was able to use as a pillow.

    Shortly after 5am I set off again slightly refreshed with the first signs of dawn. The route of the NCN1 down to Deal is quite nice. After Deal however it turns inland a little and into a very long climb that seems to just go on forever. It was nice to be able to get to the top and see the nice view across the English Channel. After a little decent there is the White Cliffs of Dover National Trust site, which has a nice view overlooking Dover ferry port. (Yeah, I’m sure you already know that I quite like travelling by ferry from time to time.)

    From there I headed down the short and steep downhill into Dover, the downhill was over way too quick considering the amount of uphill. I then took the train home, going the full length of the straight track from Ashford to Redhill (with a change at Tonbridge). The reason I mention it, is because it does look quite strange or unusual at lower zooms on a map, when there generally is more curves in rail lines.

    On the Sunday late afternoon/evening I took a nice 5 hour nap to catch up my sleep, before getting up for a few hours to catch up on a few things before heading back to bed for a full nights sleep.

    In total it was 133 miles over 20 hours, which is my second longest cycle in one go. The Dunwich Dynamo was 127 miles including the ride to the start. At some point in the future I want to ride from Dover anti-clockwise round the coast, particularly to try hill out of Dover and the long downhill into Deal. I’d also like to do Dover-Brighton via the NCN2.

    2 Comments
  • You may remember some of my tweets from the end of last year from an accident on my way home from work.

    I was cycling past Peckham Rye Park along the London Cycle Route 22 as I was usually doing, a motorist decided to come out of a side road even so he didn’t have priority and had plenty of time to stop rather than me ending up going over his bonnet. Luckily the people in the car behind me stopped and helped, including calling the police and ambulance, unlike the driver of the car that I had the collision with who drove off instead. He did come back to see if I was ok, but needed convincing from the paramedics to stay to talk to the police, who hadn’t quite yet arrived.

    I was taken to hospital as a precaution after giving the police a statement while lying on the bed with my head strapped in position. The police took my bicycle to the police station for safe keeping until I was able to pick it up. It turned out that I only had a few bruises, grazes and some shock, so was discharged and took the bus home.

    A day later I picked up my bike from Peckham Police station. At this point I found that the front wheel was a little buckled. Thankfully due having a hub brake rather than a rim brake I was still able to ride the bike safely to work and back home. It took 3 weeks to get a replacement front wheel for just short of £100. The train travel also cost an extra £100 that I wouldn’t have have spent otherwise. It was quite nice as the Oyster Pay As You Go had come in just after the accident and turned out to be a bit cheaper than a travelcard based on my specific travel pattern.

    After a couple of months I was sent a witness form to fill in, which I filled in and sent off:

    Yesterday I got a letter from the Metropolitan Police stating that the court proceedings with incident were completed last week. The result was the driver being convicted of driving without due care and attention with a £100 fine pus 7 penalty points.

    It’s good to see that the driver has been given some punishment for not being careful enough with his driving, rather than it being ignored by the police as I’ve heard has happen on many occasions in the past.

    No Comments
  • As in the past couple of years I’ve made a Mac OS X Dashboard widget to count down to the State of the Map conference 2010.

    SOTM 2010 Dashboard Widget and the Dashcode project source.

    SOTM 2010 Countdown widget

    1 Comment
  • Last Saturday I took a train from Selhurst to Milton Keynes and started cycling back home. (At the moment you can get 15% off off-peak Southern tickets when you buy them at least 2 hours before travel, online.) I’d been thinking about doing that cycle since the Milton Keynes Mapping Party back in May last year.

    The first part across Milton Keynes to the Grand Union Canal, and then down to Leighton Buzzard went fairly well as the towpath is paved and some of it is part of the National Cycle Route 6. South of Leighton Buzzard however, the towpath turned to grass and for some of it mud. There were patches where it was paved nicely. There was one point the mud had got so bad I had to stop to clean the bike.

    These bird didn't want to let anyone past on the pathHeading through Berkhamstead there were some birds that  really didn’t like anyone going along their path, so had to hop off the bike and walk around them.

    Past the M25, and almost into Watford and I find another pile of mud in the path, so I stop to take a look at TrackMyJourney’s map viewer to see if there is an alternative route that may be better. Via the help of the OpenCycleMap (from within TMJ), I seen that there was the National Cycle Network Route 61, that hopefully would have been less muddy. About to move off and notice I had a puncture. So instead of trying to fix in the dark, with a muddy bike to hinder things, I decided the best option was to push the bike to Watford Junction station to get the train home and deal with the puncture once the mud had dried a bit, thus the mud would flake off.

    Also on the way to the station pushing the bike I manage to map a couple of missing street names, post boxes, benches, bike parking and found a street name that was mis typed into OSM.

    After the first attempt, I found that I had a slow puncture. It was another puncture elsewhere in the tube rather than the repair failing. It was a total of just shy of 40 miles, which is about half of the distance I was expecting to do. Considering that I’ve been doing very little cycling at the start of this year due to the bike being serviced from the accident at the end of last year, and the not so great weather, it’s not too bad. I suppose I’ll have to just postpone my annual maddly long first long cycle of the year until March. I also got a bunch of nice photos to add to the CycleStreets Photo Map, and test a new method that makes it faster to import photos from Flickr. This will mean that there will be photos of the route, when someone plans a journey that takes part of the route that I took.

    No Comments
  • Shortlinks were introduced to OpenStreetMap at the end of June 2009, by Matt Amos, as a way to have a short url to get to a specific point on the map. It is a method to go from the code to a latitude, longitude and zoom. It also works in the reverse direction too. You will see the shortlink in the bottom right hand corner of the map on osm.org. If you have a location that you want to show to people, say on twitter, then the shortlink may be a nicer method than using the standard tinyurl services.

    Here is an example of the difference:

    http://www.openstreetmap.org/?lat=51.5046&lon=-0.0774&zoom=13&layers=B000FTF

    http://osm.org/go/euu6Ari

    You can even add markers by appending ?m to the end of the short link and the marker will appear in the centre.

    If you are a developer you may want to include support for the shortlink, in addition to or instead of the standard permalink. A good example is if your app sends twitter messages with your current location, where there is a limited number of characters that can be used, thus a shorter url is needed.

    For some code take a look at the bottom of the site.js file, site_controller and the shortlink library.

    No Comments
  • As part of my recent job search I setup a few job alerts. One of which was with the keyword OpenStreetMap on CWJobs. I wasn’t expecting there to be anything coming up.

    Out of the blue a job alert did appear, and it sounds rather interesting, though I have just started a new job at Headshift.

    It is for a three month contract, and is asking for some quite high requirements, such as requiring to be security cleared; experienced using Ordnance Survey data; OpenLayer; Python; and optionally Mapnik; OpenStreetMap and QGIS. Based on the job description, I’m speculating that it is a contract for some government job. I’ll let you readers to speculate about the details of the job in the comments.

    See a PDF of the Job Advert: 20091214-OpenStreetMap GIS Developer – CWJobs.co.uk

    On a side note, I found that putting my CV on CWJobs yielded quite a high number of recruiters phoning, however the recruiters seem to all be chasing for candidates for the same handful of jobs. My current job was found through the help of the wonderful people who use twitter and directly talking to the potential employer.

    No Comments
  • This blog post is only relevant if you are on Snow Leopard, have a 64-bit Intel Mac, and need to install ImageMagick.

    There are many Ruby on Rails projects out there that have some form image manipulation, thus use ImageMagick for that. Up until recently it was a real pain to install, with some huge list of library dependancies that need to be downloaded, compiled and installed. The ImageMagick project is now supplying a Intel 64-bit binary, specifically for Snow Leopard user so that they don’t need to install from source.

    Another nice little tips that I learned for installing gems that have native extentions, is that you can put the ARCHFLAGS environment variable into your ~/.profile so that you don’t have to manually set it (and then wonder why the gem doesn’t compile elsewhere). You need to add:

    export ARCHFLAGS="-arch x86_64"
    No Comments
  • This Tuesday 8th December 2009, there will be another Edinburgh OpenStreetMap meetup. Unfortunately I won’t yet be able to enjoy another cycle out along the coast from Edinburgh to map some more of North Berwick, and return back to London on the Caledonian Sleeper. Not forgetting the significantly more people who came to the meetup than I originally expected. It’s great to see such great enthusiasm for a regular meetup in another UK City.

    When I was buying the sleeper tickets for the return leg of the last meetup, I found that phoning got a better deal than buying the tickets online and picking them up online.

    No Comments
  • At the start of October I took a week’s holiday up north in Dumfries in the run up to the Dumfries Mapping Party. It was a great week of mostly cycling, sightseeing and ended with a mapping party, held in the local leisure centre, DG One, which has some council meeting rooms.

    Heading out I was waiting on the Royal Mail delivering some OpenStreetMap reflective vests, which were supposed to have been delivered a few days earlier, though unreliable mail delivery is one downside of strike action. It meant that I had to delay my departure from home, thankfully I had bought the flexible train tickets from London to Dumfries, rather than the advance fares where you can’t change the train your travelling on and were only a couple of pounds cheaper when I was purchasing my tickets.

    The original trains that I had planned to get had a short, reasonable delay between them, however the train I ended up getting from London meant that there was over an hour wait in Carlisle. I couldn’t be bothered waiting, so I decided to set off towards Dumfries following the National Cycle Network Route 7, which at the time was only mapped to the edge of Carlisle. When I crossed the border, I checked the train times from Gretna Green on my phone and realised that the train that I would have got from Carlisle was due in about the time it would take me to get to the station. Sure enough I had a minute or two to wait on the platform before the train (with space for six bike at one end of the train, yeah ScotRail do know how to transport bikes unlike some other train companies I can think of) appeared. Later on in the week I completed the rest of the NCN7 from South of Dumfries to Gretna Green which hadn’t already been added to OpenStreetMap.

    Cycle track from my week in Dumfries

    Cycle track from my week in Dumfries

    I’ve had a little play with the Party Render scripts to produce the lovely image on the left. I customised the place names that were shown a bit to make it clearer.

    On the Wednesday meeting up with the local OSM contact (who goes by the name disgruntled, or known in the real world as Sally) for the first time at the Wednesday Wheelers meetup. It was quite interesting to see and hear the older generation happily cycling 10-30 miles for their regular weekly meetup. I felt quite at home considering my normal commute (well at the time) was 8-10 miles in each direction, and most people I speak to are surprised at the distance I cycle each day.

    Then on the Thursday I took a rather long ride over the hills of Ae and added the lcn 10 from Dumfries to Moffat. Sally had already mapped the first section of the route, which was a really nice cycle track, which had been converted from an old railway line. It was fairly flat until I got to Ae, where there is the Forest of Ae mountain bike trails, with some really steep hills that I wasn’t expecting. Thankfully just before the climb, and in time for a late lunch there was a nice little cafe, with a bike shop in the same building. Heading over the hills there were some really pretty views. It was also nice being in the middle of nowhere and only being able to hear some birdsong, and the light breeze in the trees. Once I hit the downhill, I found it pretty scary, as I wasn’t used to going down such a long hill with that style of track and occasional cattle grids.

    P1030991 P1030999 P1040021 P1040041 P1040057 P1040059

    On my return I took an earlier, but late running, train to Carlisle and cycled round Carlisle to get a bunch of it mapped.

    I was really impressed with the way that Sally had managed to write and get published an article in the local paper. She’s also been a great local contact and mapper. Dumfries council organised the nice venue, with the event being part of the Smarter Choices, Smarter Places programme in Scotland.

    I’ve been uploading the photos I’ve taken to Flickr in various sets. Then importing them into CycleStreets, so that they will appear in the route listings when you plan a route in the Dumfires area.

    1 Comment
  • Last Sunday (30/8/09) Simon Hewison and myself took the first train from London Paddington to Bristol at the fairly early time of 8am considering that we had to cycle across London first. We had purchased advanced fare tickets which were about a third of the price of the walk up fares.

    Full trace of the route

    Total distance for the main part of the route was about 80 miles. I also cycled just over 10 miles in each direction to and from London Paddington. I was originally planning to continue into the M25 and get a train from there or even continue through the night home. However the weather was very overcast and damp, and we were covering a greater distance than originally anticipated due to taking a bendy route and sometimes missing the directions signs for the National Cycle Network Route 4 and having to backtrack. We avoided mapping so that we could get a much greater distance. There were some roads that weren’t in OSM, and we found that the NCN 4 had been re-routed with part of the original route being renumbered.

    Here’s some photos of the day:

    P1010805This appears to be a variant of the Sustrans signposts, specific to the Bristol – Bath cyclepath on an old railway line.

    P1010834Here was the big staircase of locks that we cycled past.

    P1010845 Having the current OSM data on my phone means that I made Simon rather curious as to what the junction at the end of the road was. There was a sign stating that there was a roundabout, however there was just a simple T-junction in OSM. He raced off and caught a trace. I had been taking various photos of other little bits of data to add to OSM.

    P1010854There were several roads that we went along where there were signs that stated you were on a “quiet lane”. Do these have any special status?

    P1010862

    There was a bit of a problem of knowing the way at this junction until Simon beat the foliage down so that the ncn4 direction sign was visible.

    P1010879 When we arrived in the aptly named Hungerford, it was time for dinner so we found a hotel restaurant and collected the postcode and a couple of other POIs in passing, such as the bike parking in the centre of the village.

    2 Comments