fcircles | R Documentation |
Function for creating Fresnel circles polygons for mapping. Fresnel circles consist of a central circle as well as concentric annuli, all of which are equal in area.
fcircles(
ncircles,
radius_inner = NULL,
radius_outer = NULL,
lat = NULL,
lon = NULL,
geo_centre = NULL
)
ncircles |
Number of concentric circular zones of equal area (i.e. Fresnel circles) including the inner circle and annuli |
radius_inner |
Radius of innermost Fresnel circle in metres |
radius_outer |
Radius of outermost Fresnel circle in metres |
lat |
Latitude of the centre of the Fresnel circles |
lon |
Longitude of the centre of the Fresnel circles |
geo_centre |
A spatial dataset containing the coordinates of the centre of the Fresnel circles |
An sf dataset of Fresnel circle polygons with a custom Azimuthal Equidistant (AEQD) CRS.
library(sf)
library(dplyr)
# Load the sf dataset of Soho pumps
data(soho_pumps)
# Filter the Broad Street Pump from the Soho pumps dataset
bstreet_pump <- soho_pumps %>% filter(soho.pump == "Broad Street")
# Polygonal data from the Fresnel circles
fcircles(radius_inner = 125, ncircles = 8, geo_centre = bstreet_pump)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.