decode_4: Given a 4 digit code, retrieve the bounding coordinates or...

Description Usage Arguments

View source: R/fishbox.R

Description

Given a 4 digit code, retrieve the bounding coordinates or center of a One Degree Square. One Degree Squares (ODS) are defined degree by latitude and degree longitude

Usage

1
2
decode_4(x = 4269, quad = c(lat = 1, lon = 1), form = "bounds",
  closed = TRUE)

Arguments

x

numeric or character one or more 4 digit ODS codes

form

character either 'bounds' or 'center'

closed

logical if form is 'bounds' then close the bounds

quadrisphere

character identifier where 'nw' is northern western quadrisphere

a

list of 2xn matrices where n = 1 for 'center' and n = 4 or 5 for 'bounds'


btupper/fishboxes documentation built on Aug. 16, 2020, 5:13 p.m.