gr2gps_latlon: Covert grid reference to latitude and longitude

Description Usage Arguments Value Examples

Description

Covert grid reference to latitude and longitude

Usage

1
gr2gps_latlon(gridref, precision = NULL, centre = TRUE)

Arguments

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.

centre

If TRUE the coordinates for the centre of the cell are given else if FALSE the coordinates for the bottom left corner are given.

Value

A dataframe of results are returned

Examples

1
gr2gps_latlon('SU616896')


Search within the rnbn package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.