OpenStreetMap logo OpenStreetMap

Richard's Diary

Recent diary entries

Klamath Forest

I’ve created a set of tiles from US Forest Service road data for the 155 US National Forests.

This is to help with TIGER fixup in these rural areas, where tracks, trails and entirely non-existent paths are often tagged with a bare “highway=residential”. The US Forest Service data is greatly superior to the original TIGER data and has metadata on surface type/quality, but is unsuitable for automatic import into OSM because it would overwrite mappers’ existing work in these areas.

You can access the tiles at:

and they’re included in the editor-imagery-index list used by P2, iD and Vespucci. The tiles are available up to z19. Use of Potlatch 2’s new floating imagery window mode is recommended, so that you can work from both Bing imagery and these tiles at the same time.

See full entry

I know. Two new features in the space of a week. Don’t get too used to it.

P2 now has a ‘Show floating window’ checkbox in the Background menu. Select this, and you’ll get a second set of imagery in a floating window:

dual imagery

The window follows your main cursor location. So you can have Bing in the main window and Ordnance Survey StreetView in the floating window, or a blank background in the main window and Bing in the floating window, or whatever you like.

There’s a “lock zoom” checkbox to stop the floating window zooming in or out - for example, edit at z18 with Bing but see OSSV at z16; or edit at z14 with Bing but have the floating window at z19 for a close-up view. It also respects the “max_zoom” parameter of the editor imagery index.

I coded most of this at a hack weekend a year ago but had never got round to finishing it off. Hope it’s useful.

See full entry

GORDON'S ALIVE

Posted by Richard on 14 October 2014 in English.

Flash?

And so is Potlatch… just about. (Insert obvious Flash reference here.)

Potlatch 2’s core purposes are (a) being an intermediate-level editor and (b) annoying Germans. It’s never going to get major new functionality or important rewrites, but for those of us happily using it, I’ve always intended to add and fix little things over time.

In the summer it gained support for the editor-imagery-index project, which provides a central list of background imagery suitable for tracing. Today it has a couple of improvements to the long-standing feature where you shift-click away from a way to add a new point (roughly comparable to JOSM’s “Improve Way Accuracy” mode, but we don’t do modes round here) - which is a really useful technique for TIGER fixup.

See full entry

cycle.travel now has OSM-powered bike routing for Western Europe

Posted by Richard on 17 July 2014 in English. Last updated on 18 July 2014.

I’ve been working on this for a while and am delighted to be able to unveil it!

cycle.travel, my OSM-powered cycling site, now has bike routing for Western Europe: France, the Netherlands, Belgium, Germany, Denmark, Czech Republic, Slovenia, Austria, Italy, Spain, Portugal, the UK and Ireland.

You can try it at cycle.travel/map.

It’s built with (patched) OSRM and a complex custom profile. It takes account of elevation, cycle routes, surface quality and more. All routes are fully draggable; you can export to GPX, TCX, and PDF, and save routes if you create an account. The cartography is specially designed for the site.

Here’s a ride along the Rhine:

Rhine cycleway

Or if you fancy cycling over Mont Ventoux:

See full entry

The other week Development Seed posted some fresh new data for Jalisco, Mexico, together with instructions on how to use JOSM to get it into OpenStreetMap.

Of course, like most good things, it’s much easier and shinier to do it in Potlatch. At which point you might ask “What? You can open .osm files in Potlatch?”. Yes, you can, and here’s how you do it.

First of all, go to https://github.com/mapbox/osm-jalisco/downloads and grab the .osm files. Camino_2011 doesn’t download when I try it, but the other two are fine.

Now open Potlatch in the part of Mexico which you want to edit. Here’s a handy link.

Go to the “Background” menu, and click “Vector file…”:

The background menu

At the bottom, select “OSM”, then “File: Open…” to load your .osm file. Do this for each one:

See full entry

switch2osm.org

Posted by Richard on 25 January 2012 in English.

Lots of you will have seen the interest recently in switching from proprietary mapping providers to OpenStreetMap - blog postings by Nestoria and StreetEasy, Wired's article, and so on. We started a Twitter hashtag, #switch2osm, and it's rather taken off.

So I'm delighted to announce the launch of a new site: http://switch2osm.org/ .

It's a one-stop shop for would-be switchers, showing them how to get started with using and generating OSM tiles; _why_ they might want to; and where to look for more information.

Huge thanks to Harry, Kai, and lots of other people who've helped with this (and especially Matt for the layout). We'll be continuing to refine the site in the forthcoming weeks, but we're happy that it's ready to launch now. So - OSM army, get to it and promote it :)

The trouble with imports (translated)

Posted by Richard on 9 November 2010 in English.

Paris mapper Pieren has written an excellent half angry, half regretful diary entry that sums up why unthinking imports are such a curse to OSM. For those that don't speak French, I'm posting a (slightly loose) translation here. Apologies for any errors of translation.

[start quote]

I sadly discovered today that the import of buildings in the 16th arrondissement [district of Paris] has been brutally completed by someone else, by means of the simple import of a file.

I'd been working on this area for several weeks and yes, that might seem too slow for some. But if I was progressing slowly, that’s because I was taking the time to check names and one-way streets on the ground, block by block; to clean up errors (disappeared names and POIs); to add extra information such as traffic lights, missing vélib [cycle hire] points, missing names, barriers, other POIs, addresses. Everything that a semi-automatic import doesn’t do (after all, I could have done the import myself in 15 minutes long ago).

I've already carried out this work for other arrondissements (smaller ones, true) over a long period. You only have to read my OSM diary to see the list. I was three-quarters of the way through working on this arrondissement, but here I'm stopping, disgusted. I shall leave the work of completing the missing information to others, so that the arrondissement may be consistent in a far future (if ever), as well as the other arrondissements of Paris.

I understand that many people work on each area, and it’s better like that. But a tiny bit of co-ordination and investigation, to check what others were doing, would seem to me to be a minimum before embarking on such an import.

[end quote]

I cycled two-thirds of the Way of the Roses, Sustrans' newest challenge cycle route, last week - from Morecambe, on the west coast, over the Dales to York. (The route continues to Bridlington, but I'm leaving the small bit of unmapped route there for our East Yorkshire correspondent to finish.)

A beautifully scenic route, well chosen, and generously signed - which is just as well, as I was cycling 'blind', the official route map not having turned up. There were some pretty strenuous hills; the worst of the lot was one on an off-piste detour I foolishly took out of Settle, having mapped the official route there already. Actually, the flattest bit (railway paths notwithstanding) was the most boring - the section from Ripon to York, which was fairly featureless countryside. The Ouse crossing on the rickety old Aldwarke Bridge was an experience, though!

It's now mapped as National Route 69, 68, 688 and 65.

Location: Halton-with-Aughton, Lancaster, Lancashire, England, United Kingdom

OSM's National Cycle Network coverage is astounding and one of the reasons why everyone loves OpenCycleMap.

With the sun finally emerging once again (yay) we've got the chance to fill some of the gaps and make it really useful. Anna and I went out on Saturday to map a recently opened section of National Route 45 (south of Worcester), and it occurred to me that a few afternoons like that would complete coverage of several high-profile routes.

So I had a look at the map and have identified a few that could be ticked off in an afternoon by nearby mappers. Obviously, some are already in hand - Gregory W cycled most of NCN 1 last year, for example, and I've got a few planned for this year.

South


  • To complete NCN 3: St Austell to Truro is only partly mapped
  • To complete NCN 4: Tiny little section in north Bristol (near Catbrain!) needs doing

Midlands


  • To complete Great Central Cycle Ride: missing section through Daventry

Wales


  • To complete Lon Teifi: NCN 82 from Cardigan to Fishguard

North


  • To complete the C2C: Forest section near Keswick - the one gap in our coverage of the NCN's most popular route!
  • To complete the Pennine Cycleway: NCN 68's alternative route via Burnley and the Leeds & Liverpool canal towpath is only partly mapped.
  • The new Way of the Roses*: a coast-to-coast route being launched this year, roughly Morecambe-Settle-Harrogate-York-Bridlington. East of York it's fully mapped. Morecambe to York is not yet fully signed. But it'd be great to have it mapped on OSM at launch.
  • Hadrian's Cycleway (NCN 72) and the Reivers Route (NCN 10) could be completed with a little effort.
  • A few gaps around Sheffield could also be completed fairly easily.

Any takers? Or any other gaps in big routes that people have spotted?

(I posted this to talk-gb too and there's been some discussion already.)

Location: Severn Stoke, Malvern Hills, Worcestershire, England, United Kingdom

Thought for the day

Posted by Richard on 4 February 2010 in English.

This generally splendid article is doing the rounds: http://www.guardian.co.uk/technology/2010/feb/04/mapping-open-source-victor-keegan

But much though I might like the kind words for Potlatch's drag'n'drop POIs - and much though others might giggle at NickB's new surname - this is the really important bit:

Gordon Brown, the UK prime minister, has just rediscovered cooperativism as a way of galvanising people to vote Labour. He would have been much more in tune with the times if he had widened it to include the open source movement in all its different aspects. It is one of the most interesting phenomena of our times, a kind of global mutual society.

Absolutely spot on and not something that's written about enough.

Burton-on-Trent complete

Posted by Richard on 29 September 2009 in English.

Hoorah for small down-at-heel Midlands towns, for every street in Burton-on-Trent should now be mapped.

Bob Coates has done large chunks east of the Trent (Winshill etc.); Paul Sladen made a whirlwind visit by narrowboat and coloured in the town centre and thereabouts very attractively; and I've done a whole bunch of very exciting housing estates west of the Trent, plus a load of other stuff. There's probably the odd bit missing but nothing particularly significant that I can spot.

Doubtless there's lots of landuse one could add, service drives into industrial premises, POIs (well, "interest" might be stretching it - this is Burton after all) and even postboxes for those who like that sort of thing. I'm not particularly struck on making a huge effort to do that in the absence of aerial imagery, but will probably colour in a few bits now and then - principally residential and industrial areas, I guess - in a kind of slow, incremental way.

Location: Shobnall, East Staffordshire, Staffordshire, England, United Kingdom

Google has a really enlightened guy called the Data Liberation Front. His role is to make it easy for people to get their data out of Google - rather than it being locked in.

Usually, people are locked in by the lack of an export feature, or an obscure file format. In mapping, people are locked in by licences.

In Google Maps' case, you can create your own work by tracing over aerial imagery. But you can't use this work elsewhere, because of the licences and terms of use. (The phrase "derived work" usually crops up around now.)

Google could fix this by saying that tracing from their imagery is ok - just like Yahoo have done. On my blog, I looked into the legalities of this and concluded there's nothing in law stopping them from doing so. It's entirely their decision.

So - please vote for the Data Liberation Front to fix this! Click here, sign in with a Google Account, and tick the box. And tell your friends.

National Cycle Network map for Garmin GPS

Posted by Richard on 5 July 2009 in English. Last updated on 6 July 2009.

I've been playing with mkgmap over the last week, with the aim of creating a Garmin map of the National Cycle Network from OSM data. It's effectively a new version of the one I did the other year, but with better styling (via a .TYP file), contours, and so on.

NCN mapping on OSM is coming on in leaps and bounds this year, not least due to Gregory Williams' Three Corners Cycle Ride. So I figured this was a great opportunity to make it available for GPS, and so tackle the familiar "now which way do I go here...?" problem. The screenshot above would have helped Gregory find his way out of Gloucester. :)

You can now download a prerelease version (UK-only, 240Mb file):

http://richard.dev.openstreetmap.org/garmin/gmapsupp.img

The installation procedure is the same as any such map: connect your Garmin via USB, go into Mass Storage Mode (Setup->Interface), open the Garmin folder (creating one at the top level if there's not one already) and copy gmapsupp.img in.

See full entry

Lousy street names of the week

Posted by Richard on 17 June 2009 in English.

Cycling round yet another Burton housing estate last night, I was amused to find a cul-de-sac called Deferrers Croft. It's clearly meant to be named after De Ferrers, some local hero or other. Unfortunately the lack of a space on the street sign makes it look like a street dedicated to procrastinators.

This was topped, however, by the next cul-de-sac along: Telmah Close. Hamlet backwards. Ugh, just ugh.

Location: Stretton, East Staffordshire, Staffordshire, England, United Kingdom

xybot - just stop it

Posted by Richard on 7 May 2009 in English.

Unfortunately xybot isn't sentient, because otherwise, in the words of General Dreedle, we could take him out and shoot him.

xybot has not announced his presence on talk-gb, yet 'he' has taken it on himself, without consultation, to change "denomination=Church of England" to "denomination=church_of_england" here (and doubtless elsewhere). This similarly. Nor has he announced himself on talk-ie, yet this.

And what, pray, is this all about? User xybot, but created_by=Potlatch 0.11b? The bot knows how to work Potlatch? Blimey.

It is so, so tempting to write a xyrevertbot. If you see an automated user called General Dreedle you'll know I've succumbed.

Lon Las Cymru complete

Posted by Richard on 2 May 2009 in English.

National Cycle Network route 8, aka Lon Las Cymru, is now completely mapped on OSM.

This was the first long-distance NCN ride I ever did, from Cardiff to Holyhead. But at the time I only had a little 1500-point yellow eTrex, which would have run out of puff after about a day... so I didn't get a track. One of my main reasons for rectifying the New Popular Edition properly was so I could use it in Potlatch to trace this route from memory!

Since then, I've cycled a few bits again (notably the Taff Trail), benefited from others' GPS tracks on the same route, and walked/driven a few bits when in the vicinity, too. The other weekend, when in North Wales, I took the chance to walk the one remaining lacuna, the housing-estate route through Llanfairpwyngwyngylletc.

NCN 8 isn't just one route, though: it has "braids", or alternative routes. One is for the section from Machynlleth to Dolgellau, the other from Dolgellau to Porthmadog. When I first cycled it, I'd followed the mostly on-road routes (it was the first outing for my Ridgeback and I wasn't too confident about its off-road capabilities), via Corris and Harlech respectively. But the other week, Anna and I decided to tackle the other braids.

Holy cow they're good - but tough. Machynlleth to Dolgellau follows some lovely winding minor roads for a while, then takes the "Black Road" over the hill to the Mawddach estuary. This is exactly as foreboding as it sounds. It's a long, steep slog up to the top, where the tarmac gives out. From there it's a very exhilarating but rough descent, which was some serious stress on the brake blocks. Fortunately there's an outstanding bike shop in Dolgellau (not the posh-looking one, but the one in an old garage) which reinstated my stopping power and, better still, unbent my back wheel.

See full entry

Location: Trawsfynydd, Gwynedd, Wales, United Kingdom

Hoorah for the mystery cyclist

Posted by Richard on 19 February 2009 in English.

Cyclists love OSM (and OSM loves cyclists).

An anonymous happy cyclist has uploaded their tracks of National Cycle Route 8, Lon Las Cymru - the Welsh national route from Cardiff to Holyhead. I cycled this a few years back, but without GPS (I only had a yellow eTrex at the time, and the memory would have filled up too quickly), so had mapped what I could remember from NPE - in fact, wanting to do this was the initial reason I added NPE to Potlatch. Over time I've been refining it whenever I've revisited an area (Brecon last weekend, Cardiff a month or two ago) but there were still some gaps.

The mystery cyclist's GPS track has meant that it's now almost entirely complete. Only a small bit in Llanfairpwyngwyngyll (etc.) remains to be done, plus two alternative braids which we might cycle this Easter.

Thank you mystery cyclist, whoever you are.