Create fake coordinates

ch_lon(n = 1)

ch_lat(n = 1)

ch_position(n = 1, bbox = NULL)

Arguments

n

(integer) number of things to get, any non-negative integer

bbox

a bounding box of the form [w,s,e,n]

Examples

ch_lon()
#> [1] -149.8921
ch_lon(10)
#>  [1]  -57.72269 -160.15411 -112.15399  -81.53838   78.85183   27.58527
#>  [7] -115.18990   90.99904   24.63330   30.07424

ch_lat()
#> [1] -28.75829
ch_lat(10)
#>  [1]  46.465593  69.401547   4.876726  74.513338 -59.982434 -60.426912
#>  [7] -55.029834  -6.000573 -22.022166  61.561101

ch_position()
#> [1] -28.16942  83.95771
ch_position(10)
#> [[1]]
#> [1] 162.506 -75.232
#> 
#> [[2]]
#> [1] -79.79179  16.16203
#> 
#> [[3]]
#> [1] 172.0431  32.9448
#> 
#> [[4]]
#> [1] -74.72038  36.51906
#> 
#> [[5]]
#> [1] -11.64683 -10.80178
#> 
#> [[6]]
#> [1] -104.16284  -38.71726
#> 
#> [[7]]
#> [1] -110.98853   25.85135
#> 
#> [[8]]
#> [1] 170.90876  13.57848
#> 
#> [[9]]
#> [1] 163.29168  51.06493
#> 
#> [[10]]
#> [1] -101.71243   21.54988
#> 
ch_position(bbox = c(-120, 30, -110, 60))
#> [1] -115.93539   46.77794