Showing posts with label streets. Show all posts
Showing posts with label streets. Show all posts

Friday, 12 June 2020

City street patterns

This is a post about streets. Or roads. Or Avenues, Lanes, Gardens or Places, or even Ways. Giuseppe Sollazzo did this kind of thing already in an extremely clever and efficient way, and he's very much the inspiration here. But I wanted to revisit the topic for a variety of reasons, though mostly just curiosity - and sometimes that's enough. 

So, let's begin by looking at one of the 451 maps I made, of the UK's biggest new town (population now about 270,000).

Quite a few Close and Court and Hill ones 


As you can see, all I've done is colour the roads according to their designation as 'Road', 'Street', 'Way' and so on. The 'Other' category includes things like 'Close', 'Court', 'Hill', 'Crescent', 'Brae' and a few more, but there aren't enough colours for all of them. In Milton Keynes, and some other places, you also get streets with no second name, like where they are just called things like 'Downland' or 'Cavenham' or 'Garston'. I think that's because the local road namers refused to work pro bono. Okay, I'm really struggling to make this U2 joke work, sorry.

Anyway, I've done maps for 451 different locations across Britain using Ordnance Survey open data (the OS Open Roads layer). I then added some place names using a possibly-annoying whimsical font (Nanum Pen) and then added a colour bar legend along the bottom so you can tell what's what. Here's a map centred on Liverpool, which is a good example of the way in which 'Street' tends to be in more central, older locations. 


You can see Queens Drive here easily


The scale is the same on all maps - I used a 1:50,000 scale and you can see how far one mile is by looking at the scale bar in the bottom left of the images. they are mostly focused on individual towns and cities but in the case of London, for example, there are maps centred on specific areas, such as Kensington.

It's all Roads beyond here


Edinburgh (with its New Town, for example) and Glasgow (with its central grid pattern) are actually very interesting, so I've added them below.


Spot Holyrood Park


Look closely to see the M8 and M74, M77, M80


What about some other big towns and cities? The full set is in this online folder, but I've posted some more below for the time being. I've started with York, because it's not fair that it always ends up last on the list.









































That's all there is to it, really. 

But I do think it gives us an interesting glimpse into lots of other things, like how the new towns were laid out, how some of our older and bigger towns and cities developed, and even things like density, connectivity, topography and so on. 

I'm fascinated by the shapes of towns and cities so that's how I got here, and if you've scrolled this far maybe you are too.



Tuesday, 19 September 2017

Buildings of Great Britain

One of the great things about Great Britain is of course Ordnance Survey, our 225 year old national mapping agency. Since a lot of their data was made open in the last decade it has become easier than ever to explore and map the country (particularly if you're some kind of GIS boffin). I should point out before going any further that Ordnance Survey covers Great Britain only, not Northern Ireland. For that, you'll need to look at Ordnance Survey Northern Ireland, who also have a good selection of open data. In the past, I've created sets of building data for English cities, done some calculations on how much land is taken up by golf courses, and a variety of other things, including creating 3D building models using OS open data. Today I'm sharing some shapefiles of all buildings in Great Britain. 


London has lots of red buildings

Why have I done this? The main reason is that I want to share these complete files with others who might need them and don't want to - or know how to - patch together separate tiles of Ordnance Survey open data. If you need some building footprint data, you can just download the set you need and zoom to your chosen area, or extract what you need from an individual shapefile. I used the OS OpenMap - Local product for this, so the detail in the buildings is very good, as you can see below in the zoomed-in extract.

The reason I did this in the first place was because I wanted to come up with a number for the percentage of the land area of Great Britain that is covered by buildings. There has been some debate about this topic, and it was covered in an FT Fact Check piece in 2016 by Kate Allen partly in response to the claim that golf courses cover more land than housing. My calculations using new OS data revealed that Great Britain is 0.54% golf course (1,256 sq km, about the same area as Greater Manchester). But do buildings cover more than this? Yes they do. 


Click to enlarge - you can see lots of detail

Using the data I'm sharing here, I calculated that buildings in the UK cover 1.35% of the land. I reported this previously in a tweet that was quite widely shared. To my embarrassment, for the GB figure I used the UK area as the denominator so the figure reported there was a little low, though the England, Scotland and Wales figures were and are accurate. Here's the important information you need, if you're ever faced with an awkward silence at a party.

> Great Britain is 1.35% buildings

> England is 2.0% buildings
> Scotland is 0.4% buildings
> Wales is 0.9% buildings

The Great Britain figure equates to about twice the area covered by Greater London - 3,150 sq km. However, the OS OpenMap - Local product isn't the most detailed building-level data covering Great Britain. For that, you'd need to look at OS MasterMap, a much bigger job. That is, unless you are Mike Gale and Tom Armitage at Edina and you have all this information in a lightning-fast database ready to query. They very kindly went beyond the call of duty and did some calculations and confirmed that my figures are pretty much spot on. They did loads of other really cool stuff too, but more on that another time perhaps.

If you click on the link, you'll see the set of shapefiles I created in a Dropbox folder. It contains some licence information, a few sample images, plus the following shapefile sets:

  • All buildings in Wales in a single shapefile
  • All buildings in Scotland in a single shapefile
  • All buildings in the North of England in a single shapefile
  • All buildings in the Midlands in a single shapefile
  • All buildings in the South West of England in a single shapefile
  • All buildings in the South East of England in a single shapefile

The complete set, and individual files, are pretty big, since they cover large areas and have millions of individual polygon features in them. This isn't exactly the best way to view and map this data, I know. That's obviously an understatement. But I also know that it's the format many people know and love, and want to work with. So, if you want to play around with buildings or use this as background mapping, be my guest. 


Data notes
Giant shapefiles make the world go round, okay. More seriously, there are better ways to download and view this data, but that's for another blog post. On a related note, see this from Emu Analytics on a very cool project which utilises OS building data. If you download the files and look at the attribute table in your GIS of choice, you'll see that I've added an area column for each polygon showing the area in square metres. 

Using this to query the dataset can be interesting - e.g. to find the largest building. Be aware, however, that the OS OpenMap - Local data still has a degree of generalisation in it so sometimes separate buildings can be merged together - e.g. if they are very close together. But I know from what Mike and Tom did with MasterMap data that this doesn't affect the final calculation much at all, thankfully.

As for the golf courses vs. housing thing, I know that's not strictly-speaking solved definitively either. The reason for this is that we have no way of knowing exactly what area houses cover vs non-residential buildings. As far as I know, even Ordnance Survey don't know this, and probably can't know this from what data we have available to us. However, the vast majority of buildings are residential (not sure on the %) and I'm very confident that housing covers a much bigger area than golf courses, I just can't say how much.


Tuesday, 26 July 2016

Urban road network data for 80 world cities

A recent study published in Nature's Scientific Data caught my eye recently. In the paper, published online on 21 June 2016, the authors describe a method for taking OpenStreetMap (OSM) data and producing usable, toplogically accurate network data from it. It covers 80 of the biggest cities across the world, from Tokyo to Medellin. What caught my eye in particular is that they shared all the data on Figshare, and you can download it in chunks or the whole lot at once (2.15GB). I had a little play with it and made some night time/from space views of the network data, just for fun. Guess the cities below (helpful clues included)... and then tell me which is the odd one out.

Clue: it's not Bognor Regis 

Clue: I have been there (that's not very helpful, sorry) 

Clue: lots of people live here

Clue: rhymes with Few Dork

Clue: lots and lots and lots of people live here

Back on topic now - here's what the study looks like if you haven't already clicked - the authors also provide loads of useful resources in the paper. They also describe how they were able to develop a topologically accurate street network using their GIS-based protocol.

Take a look at the study - it's great

The 80 cities featured



Citation: Karduni,A., Kermanshah, A., and Derrible, S., 2016, "A protocol to convert spatial polyline data to network formats and applications to world urban road networks", Scientific Data, 3:160046, Available at http://www.nature.com/articles/sdata201646