Description
Listing major characteristics of raster inputs. Those characteristics include dimensions, resolution, extent, value ranges (min, max), and the coordinate reference system. This function provides directory-based summaries for quality control and metadata extraction.Usage
Arguments
The path for the Raster* directory or list of Raster* to be analysed. Can be:
- A character path to a directory containing
.tiffiles - A list of RasterLayer objects
Value
Returns a tibble with the following columns for each raster:file_name: Name of the raster file or layerxmin: Minimum x coordinate (western edge)xmax: Maximum x coordinate (eastern edge)ymin: Minimum y coordinate (southern edge)ymax: Maximum y coordinate (northern edge)res_x: Resolution in x directionres_y: Resolution in y directionnrow: Number of rowsncol: Number of columnsmin_val: Minimum pixel valuemax_val: Maximum pixel valuecrs: Coordinate reference system (CRS) as character string
Details
This function is essential for:- Quality Control: Verify that all rasters in a time series have consistent properties
- Metadata Extraction: Document the characteristics of your spatial datasets
- Preprocessing Checks: Ensure rasters are properly aligned before analysis
- Data Documentation: Generate summary tables for reports and publications
- Directory path: Searches for all
.tiffiles in the specified directory - List of RasterLayers: Processes a pre-loaded list of raster objects
Examples
See Also
summary_map()- Quantitative summary of pixel values for a single rasteracc_changes()- Calculate accumulated changes across time series