Learn R Programming

rnbn (version 1.1.2)

createWKT: Create polygon from point

Description

Covert latitude and longitude plus a radius into a WKT string.

Usage

createWKT(latitude, longitude, radius = 5000)

Arguments

latitude
numeric
longitude
numeric
radius
numeric, distance in meters

Value

Polygon as a WKT string

Examples

Run this code

rnbn::createWKT(51.6011023, -1.1278673, 1000)

Run the code above in your browser using DataLab