decode_5: Given a 5 digit code, retrieve the bounding coordinates or...

Description Usage Arguments

View source: R/fishbox.R

Description

Given a 5 digit code, retrieve the bounding coordinates or center of a Quarter Degree Square. Quarter Degree Squares (QDS) use degree Latitude and degree Longitude and quarter of the full degree square. The lower right quarter is 1, lower left 2, upper right 3 and upper left 4.

Usage

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

Arguments

x

numeric or character one or more 5 digit QDS 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.