if (FALSE) {
data(data_tuto)
mat_w <- data_tuto[[1]]
gp <- gen_graph_topo(mat_w = mat_w, topo = "gabriel")
crds_crs <- 2154
crds <- pts_pop_simul
layer <- "graph_dps_gab"
graph_to_shp(graph = gp, crds = pts_pop_simul, mode = "both",
crds_crs = crds_crs,
layer = "test_fonct",
dir_path = tempdir(),
metrics = FALSE)
}
Run the code above in your browser using DataLab