Vector of meshcode

meshcode_vector(x = character(), size = double(), .type = "standard")

meshcode(x, .type = "standard")

as_meshcode(x, ...)

# S3 method for meshcode
format(x, ...)

# S3 method for subdiv_meshcode
format(x, ...)

Arguments

x

input meshcode value

size

input meshcode size. Default set to NULL. The decision is automatically made based on the meshsize.

.type

Specify the subdivision if you want to get a 100m mesh.

...

path to another function

Value

meshcode

Examples

meshcode("6441")
#> <meshcode[1]>
#> [1] 6441
meshcode(c("6441", "6442"))
#> <meshcode[2]>
#> [1] 6441 6442
meshcode(c("6441", "644143"))
#> <meshcode[2]>
#> [1]   6441 644143
meshcode("6441431552", .type = "subdivision")
#> <subdiv_meshcode[1]>
#> [1] 6441431552