randgeo (version 0.3.0)

wkt_point: 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

Run this code
# NOT RUN {
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))
# }

Run the code above in your browser using DataLab