in.area: Geographic area checking

Description Usage Arguments Examples

Description

Check if the given lon-lat pair falls into specific area. The area is a 4-length vector with lon-lat pairs of two points that confine the area boundaries.

Usage

1
in.area(lon, lat, area)

Arguments

lon,lat

The point to be checked.

area

The area defined by two points c(lon1, lat1, lon2, lat2).

Examples

1
in.area(120.1, 30.1, c(120.0,30.0,120.5,30.5))

caesar0301/omniR documentation built on May 13, 2019, 10:38 a.m.