geoarea: Calculates the area of a given region.

Description Usage Arguments Value Side Effects See Also Examples

View source: R/geoarea.R

Description

Calculates the area of a given region to a given precision.

Usage

1
2
geoarea(data, Projection = "Lambert", old.method = F, ngrdpts = 2000,
  robust = T)

Arguments

data

The region, should contain \$lat and \$lon.

Projection

Which projection is beeing used.

old.method

If true an older version of this program is used. Default is False.

ngrdpts

The precision of the calculation.

robust

If true a more robust method is used, default is True.

Value

The area of the region given.

Side Effects

None

See Also

geodefine, geolocator, geoinside.

Examples

1
2
3
4
5
6
7
8
geoarea(island)         # Calculates the area of Iceland up to
                                 # an with default precision.

         geoarea(island,10000)   # Calculates the area of Iceland up to
                                 # an adiquite precision.

#         geoarea(geodefine(),10) # Calculates the area of a region specified
                                 # by the user.

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