Find out neighborhood meshes collection

find_neighbor_mesh(mesh = NULL, contains = TRUE)

Arguments

mesh

meshcode (under the 1km mesh size)

contains

logical. contains input meshcode

Examples

find_neighbor_mesh(53394501)
#> [1] 53394490 53394491 53394492 53394500 53394501 53394502 53394510 53394511 #> [9] 53394512
find_neighbor_mesh(533945011)
#> [1] 533944904 533944913 533944914 533945002 533945004 533945011 533945012 #> [8] 533945013 533945014
find_neighbor_mesh(533945011, contains = FALSE)
#> [1] 533944904 533944913 533944914 533945002 533945004 533945012 533945013 #> [8] 533945014