circle.one.point: Find a circle around a point

Description Usage Arguments Examples

View source: R/circle.one.point.R

Description

Through simple approximate geometry the perimeter of a circle around a point given in lat and lon is found

Usage

1
circle.one.point(lat, lon = NULL, rad, n = 10)

Arguments

lat,lon

Latitude and longitude in decimal degrees.

rad

radius of the circle in nmi

n

number of points on the circle perimeter

Examples

1
2
3
## draws a circle around Iceland
geoplot()
geolines(circle.one.point(65,-19,150,n=50),lwd=3,col="red")

Example output

Loading required package: maps
Loading required package: mapdata

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