rectArea: Given rectangle code return area in square kilometers or...

Description Usage Arguments Value Note See Also Examples

Description

Rectangle area is returned through a call to rectPeri-functions and geoarea.

Usage

1
2
3
4
5
6
7
rA(r, scale = "nmi")

srA(sr, scale = "nmi")

mrA(mr, dlat = 5, dlon = 10, scale = "nmi")

drA(dr, dlat = 1, dlon = 2, scale = "km")

Arguments

r,sr,mr,dr

rectangle code, as in rect2deg and deg2rect.

scale

nmi, km, default nmi returns values in square nautical miles for all except drA returns area in square kilometers.

dlat,dlon

Dimensions of latitude and longitude given in minutes and degrees for mrPeri and drPeri, respectively.

Value

Rectangle area in square nautical miles or kilometers.

Note

Unit nmi is used for historical/acoustical (sA) reasons.

See Also

rectPeri, deg2rect, geoarea.

Examples

1
2
3
4
5
6
srA(7121)
  srA(7121, "km")
  srA(7121, "km")/1.852^2
  srA(7121, "km")
  rA(712)
  srA(7121) + srA(7122) + srA(7123) + srA(7124)

geo documentation built on May 29, 2017, 5:36 p.m.