Description Usage Arguments Value Examples
View source: R/mg_create_template_raster.R View source: R/hello.R
Takes a data set with coordinates and creates a template raster with a specifies resolution and crs
Takes a data set with coordinates and creates a template raster with a specifies resolution and crs
1 2 3 | mg_func_template_raster(df_col_x, df_col_y, resolution, crs_to_assign)
mg_func_template_raster(df_col_x, df_col_y, resolution, crs_to_assign)
|
df_col_x |
The column of the dataset with the x coordinate (should be numeric) |
df_col_y |
The column of the dataset with the x coordinate (should be numeric) |
resolution |
Resolution of the raster which is created (an integer, eg. 100 for 100x100 raster cell size) |
crs_to_assign |
Coordinate reference system to assign to the created raster (integer, eg. 25832 for UTM 32, 31468 for Gauss krueger) |
a list with two elements, first is a grid, second is a raster file
a list with two elements, first is a grid, second is a raster file
1 2 3 4 5 6 7 8 9 | grid_project_area <- mg_func_template_raster(df_col_x = meta_projekt$ostwert_crs_25832,
df_col_y = meta_projekt$nordwert_crs_25832,
resolution = 200,
crs_to_assign = 25832)
grid_project_area <- mg_func_template_raster(df_col_x = meta_projekt$ostwert_crs_25832,
df_col_y = meta_projekt$nordwert_crs_25832,
resolution = 200,
crs_to_assign = 25832)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.