Mashups OpenStreetMap

Map of UK Scenicness… and Pubs


Here’s a little something I knocked up, based on the MySociety scenic score data release last week, as well as OpenStreetMap’s data for the UK – including particularly its pubs.

Basically, the vote point data was converted to a surface, using an IDW (Inverse-Distance Weighted) function. The cell size was pretty small (1km), so there isn’t much smoothing across many vote locations going on – a single vote may cause quite a steep gradient. Instead, the surface effectively extrapolates the values into all areas. Some jiggery-pokery was required to first project the votes onto the British National Grid (so that x/y distances become equivalent) and then the resulting surface was fully rasterised and reprojected to Spherical Mercator so that it could be tiled under the existing OpenStreetMap network overlay. This was surprisingly painful to do.

Note that the photographs that were voted on generally weren’t of the pubs shown on the map, so the pub might well be extremely photogenic – but in an area where the nearest Geograph photos used in the dataset for the voting were not rated highly.

It’s good to see that the Scottish Highlands come out so green (i.e. scenic.) Urban areas generally don’t do too well, although the voting was generally quite critical, so a yellowish hue is still a sign of a very scenic part of a city.

Data came from MySociety (using photographs from Geograph) and OpenStreetMap. The pub icon came from Wikimedia. The map tiles were produced using Mapnik for the OSM network overlay and MapTiler for the scenic map. The increasingly excellent OpenLayers is used to display the tiles, and a point vector layer showing the pubs.

There’s many areas with apparently no pubs at all. This is simply because the data wasn’t in OpenStreetMap when I pulled it in on Friday. However OpenStreetMap’s data is rapidly becoming more complete throughout the UK at the moment, so a future pull of the data should reveal many more pubs.

Some very remote areas don’t have any vote data either, but the production of the surface uses and extrapolates the values from nearby votes instead.


Conferences OpenStreetMap

Open Source GIS is from Mars, OpenStreetMap is from Venus?

I’m going to a couple of conferences in the next few weeks – the 1st Open Source GIS UK (OSGIS UK) conference at Nottingham University, and State of the Map 2009, the 3rd OpenStreetMap conference in Amsterdam.

On the face of it, one might expect an overlap between the two conferences. In both cases, it is about a community geared towards developing and using open source (“free”) geo-applications to further understanding of spatial issues or “do cool things”.

But OpenStreetMap (OSM) is not in the title of any of the talks on the OSGIS agenda.”GIS” appears just once in the SOTM agenda titles – “Bridging the GAp: Using OSM Data with GIS Tools” by Jochen Topf should be an interesting talk.

I suppose the two communities are really separate, coming from two different sources, operating on two levels and with two aims.

  • The open source GIS community comes from academia, particularly Geography, and is interested in having the power to develop applications to advance research, without facing the user interface and functionality challenges of the big proprietary GISes, not to mention the expensive licensing costs. They already have the data – they’ve collected it, or negotiated academic rates for access to the national mapping agencies.
  • The OSM community comes from IT and just wants to do cool things with the data – but doesn’t have the willingness to pay commercial rates for the data – so they are more focused with getting the data in the first place. Once they have it, they are not willing to learn (or aware of ) GISes, which are complicated bits of software, at best, instead generally scripts for specific bits of functionality.

Two worlds, it seems, with “open” goals but seemingly little overlap.


Testing the OpenStreetMap WordPress Plugin

[osm_map lat=”51.525″ long=”-0.134″ zoom=”17″ type=”Mapnik” width=”500″ height=”300″ marker=”51.525,-0.134″]The Pearson Building, UCL Geography.

Very nice. Hopefully there will soon be an easy way to put a pin on the map using this plugin. [Update: It’s been added – thanks!]


MSc Dissertation

Last year (2007-8) I studied for an MSc in Geographic Information Systems, at City University London. The course was taught by an excellent team of academics and I can thoroughly recommend it as a good, technology-focused introduction to GIS. The highlight was the field-trip, a week away in the Lake District, carrying out three two-day projects, each involving planning, data gathering, preparing and presenting the findings.

The summer last year was spent researching and writing the dissertation. It is entitled “Use of a GIS for Production and Maintenance of Street Orienteering Maps: Can a GIS and Spatially Aware Data add Value to Orienteering?” and can be downloaded from here (24MB, 102 pages).

You almost certainly don’t want to read 102 pages, so there is an extended abstract here (1MB, 5 pages), entitled “Creating and Maintaining Street Orienteering Maps using OpenStreetMap”, which appears in the “Proceedings of the GIS Research UK 17th Annual Conference”, aka GISRUK 2009. I presented a poster summarising the work at the conference, which is reproduced below – linked to a larger version.

Poster for GISRUK 2009