gr2gps_latlon.Rd
Covert grid reference to latitude and longitude
gr2gps_latlon(gridref, precision = NULL, projection = "OSGB", centre = TRUE)
gridref | a vector of strings giving grid references to be changed |
---|---|
precision | gives the precision of the grid references. Must be of the same length as gridref. precision is given in meters as a numeric i.e. 10km square = 10000, 1km square = 1000. If NULL then the function tries to work out the precision itself. |
projection | specifies the projection of the input and can either be |
centre | If |
A dataframe of results are returned
gr2gps_latlon('SU616896')#> LATITUDE LONGITUDE #> 1 51.60233 -1.111254