This project focuses on classifying soil texture using field sample data and generating spatially continuous maps using interpolation techniques in R. The results are compared with the World Soil Grid predictions to understand spatial variability and model accuracy.
How do soil texture classes derived from field-measured soil samples differ from those estimated by the World Soil Grid, and what spatial patterns emerge when using interpolation techniques in R?
Field-derived soil texture classes will show finer spatial variation than World Soil Grid predictions, with higher disagreement in areas of micro-scale heterogeneity.
To classify soil texture using the USDA texture triangle, map spatial variability using interpolation, and compare results with World Soil Grid data.
- Sand (%), Silt (%), Clay (%)
- Coordinates (WGS84)
- Format: CSV / XLSX
- Sand, Silt, Clay (0-5 cm depth)
- Resolution: 250 m
- Format: GeoTIFF
- Shapefile defining the project boundary
# Soil-Texture-Mapping/
│
├── README.md # Project overview
├── LICENSE # MIT license
├── .gitignore # Ignored files
│
├── Data/
│ ├── Raw/ # Original datasets (CSV, shapefiles)
│ └── Processed/ # Cleaned/normalized data
│
├── Requirements.txt # R package list
│
├── Scripts/
│ ├── 01_Data_Cleaning.R # Data preprocessing
│ ├── 02_Classification.R # USDA soil texture classification
│ └── 03_Mapping.R # Spatial interpolation & mapping
│
├── Outputs/
│ ├── Figures/ # Generated maps
│ └── Tables/ # Classification results
│
└── Documents/
├── Final_Report.qmd # Quarto analytical report
└── Presentation.qmd # Slides- Clean and standardize soil sample data
- Classify soil texture using soiltexture package
- Interpolate sand/silt/clay using IDW & Kriging
- Classify interpolated rasters
- Compare with World Soil Grid data
- Generate maps and summary tables
1. Install required packages:
# source("requirements.txt")2. Run scripts in the following order:
01_Data_Cleaning.R02_Classification.R03_Mapping.R
3. Render the Quarto report:
# Quarto render Documents/Final_Report.qmdNoman Ahmad
Doctorate in Agricultural and Natural Sciences
AGP3141 – Environmental Data Visualization in R
Date: Spring 2025
Linkedin; ResearchGate; ORCiD