Category Archive: GIS

R with GRASS GIS – easiest Munros

I’ve been having a more sustained play with R and GRASS together. I’ve previously used them, in tandem, for processing satellite images, but haven’t been much further. In this post I’ll look at… Continue reading

R – iteratively changing column classes

When you write an ESRI Shapefile from R, writeOGR assumes your numeric fields are real numbers and so you get a lot of redundant zeros appended. This is misleading and distracting when you… Continue reading

R – Change columns names in a spatial dataframe

Ordnance Survey have a great OpenRoads dataset, but unfortunately it contains a column called ‘primary’, which is a keyword in SQL. This makes it challenging/impossible to import the OpenRoads dataset into a SQL… Continue reading

Converting (British) National Grid references

I was supplied spatial point data this summer where the locations were detailed in Ordnance Survey’s National Grid (NGR) format. If you’re not familiar with it, rather than using eastings and northings (in… Continue reading

EARL 2016 talk

I spoke on 14th September at the EARL (Effective Applications of the R Language) conference in London. This is event is concerned exclusively with the R programming language and it was the first… Continue reading

Mapping from GPS files

I’m just back from a 7 day cycle tour of Arran, Islay, Bute and the bits in between. I wanted to create a map of the route from the GPS log files of… Continue reading

Monthly patterns in Scottish snow (1946-2006)

There’s been a bit of a flurry on Twitter recently about April snow in the UK (see tweet below). My opinion is there’s often UK snow during April, but it happens to be… Continue reading

Getting started with NetCDF – reading CEH GEAR

Last year CEH released an interpolated precipitation dataset for the UK call GEAR. You can read about this dataset here, or view slides presented at the 2014 BHS Symposium here. In short; these… Continue reading

Rare snowmelt estimation (GB)

I read Hough and Hollis’ 1997 paper recently which uses Met Office synoptic stations to estimate a magnitude – recurrence relationship for snowmelt in the UK. i.e. how often do we get how… Continue reading

Cairngorms snow cover, 1954-1984

Neil Reid wrote a post this week about news from the Mar Lodge estate. On it he mentions the future of Derry Lodge. I’ve never been to Derry Lodge so seeing a photograph… Continue reading