Bongiorno tutti,
A closing parenthesis appears to be missing in code/processing-scripts/01_grid_creation.R, on line 40. The closing parenthesis on line 42 should be removed.
Instead of:
st_write(hexa,
paste(
"../../datalake/mapme.protectedareas/processing/fishnet/honeycomb_",
i,
"_sqkm.gpkg",
sep = "",
append= FALSE # overwrite layer if exists. Use with caution
)
)
The code should be:
st_write(hexa,
paste(
"../../datalake/mapme.protectedareas/processing/fishnet/honeycomb_",
i,
"_sqkm.gpkg",
sep = ""), # add closing parenthesis here
append= FALSE # overwrite layer if exists. Use with caution
# ) remove closing parenthesis here
)
Otherwise "FALSE" gets pasted inside the file name and the argument append = FALSE is not passed to the st_write function.
Arriverderci,
FB
Bongiorno tutti, A closing parenthesis appears to be missing in code/processing-scripts/01_grid_creation.R, on line 40. The closing parenthesis on line 42 should be removed. Instead of:
The code should be:
Otherwise "FALSE" gets pasted inside the file name and the argument
append = FALSE
is not passed to thest_write
function. Arriverderci, FB