Skip to contents

Eastings and Northings to OS Grid Ref This function converts eastings and northings to an OS grid ref of a specified length.

Usage

en2os(easting, northing, resolution)

Arguments

easting

The eastings of the point to be converted.

northing

The northings of the point to be converted.

resolution

The resolution of the grid reference to be produced.

Examples

df <- data.frame(easting = c(385760, 532765, 479732), northing = c(219790, 122444, 347045))
gridrefs <- en2os(df$easting, df$northing, 6)