wkt_point: Random WKT point

View source: R/wkt_point.R

wkt_pointR Documentation

Random WKT point

Description

Random WKT point

Usage

wkt_point(count = 1, bbox = NULL, fmt = 7)

Arguments

count

(integer/numeric) number of points. Default: 1

bbox

(integer/numeric) lat/long bounding box from which to generate positions; numeric vector of the form west (long), south (lat), east (long), north (lat). optional

fmt

(integer/numeric) number of digits. Default: 7

Value

WKT; a character vector with one ore more POINT strings

Examples

wkt_point()
wkt_point(10)
wkt_point(100)

wkt_point(fmt = 5)
wkt_point(fmt = 6)
wkt_point(fmt = 7)

wkt_point(bbox = c(50, 50, 60, 60))

ropensci/randgeo documentation built on Sept. 12, 2022, 2:01 p.m.