mgrs_to_latlng {mgrs}R Documentation

Convert an MGRS string to latitude/longitude

Description

Convert an MGRS string to latitude/longitude

Usage

mgrs_to_latlng(MGRS, degrees = TRUE, include_mgrs_ref = TRUE)

Arguments

MGRS

an MGRS string

degrees

convert to degrees? Default: TRUE

include_mgrs_ref

if TRUE the data frame returned fill include the MGRS reference in a column named mgrs. Default: TRUE.

Value

data.frame

Note

vectorized

Examples

mgrs_to_latlng("15TWG0000049776")

[Package mgrs version 0.2.1 Index]