wgs84_to_osgb36: Functions to convert points among different projection...

View source: R/projection_conversions.R

wgs84_to_osgb36R Documentation

Functions to convert points among different projection systems.

Description

These functions use spatial libraries to do the coordinate conversion so the sometimes many-step calculations do not have to be maintained.

Usage

wgs84_to_osgb36(y, x)

osgb36_to_wgs84(x, y, string = FALSE)

os_grid_to_osgb36(grid_reference)

nztm_to_wgs84(x, y, string = FALSE)

wgs84_to_nztm(y, x)

Arguments

y

Coordinate component in the y-dimension.

x

Coordinate component in the x-dimension.

string

Should the return be a string rather than a data frame?

grid_reference

UK grid reference.

Value

Data frame or character vector.

Author(s)

Stuart K. Grange


skgrange/gissr documentation built on June 20, 2024, 12:02 a.m.