R-based workflow for scaling, cropping and combining GeoTIFF's from the Dibblee map collection.
- Generate cropped/scaled versions of maps in data/:
./crop_all.sh - Create combined map:
Rscript combine.R
data/- Source GeoTIFF files (.tif) and coordinate files (.tif.txt)output/- Intermediate processed files (scaled and cropped.tiffiles)images/- Final visualization outputs (.pngfiles)
cop_all.sh- Batch processes all GeoTIFF files in the data directorycrop.R- Individual file processing (scaling, polygon cropping)combine.R- Combines multiple rasters into a single visualizationplot.R- Creates individual plots for single GeoTIFF files
- R with packages:
terra,sf,ggplot2,maps,terrainr - Input data: GeoTIFF files with corresponding
.txtcoordinate files