
Create unioned base layer for non-point source (NPS) ungaged load estimation in the Tampa Bay watershed
Source:R/util_nps_tbbase.R
      util_nps_tbbase.RdCreate unioned base layer for non-point source (NPS) ungaged load estimation in the Tampa Bay watershed
Usage
util_nps_tbbase(
  tblu,
  tbsoil,
  gdal_path = NULL,
  chunk_size = NULL,
  cast = FALSE,
  verbose = TRUE
)Arguments
- tblu
- sf object of land use/land cover in the Tampa Bay watershed, currently - link{tblu2023}
- tbsoil
- sf object - link{tbsoil}of soil data in the Tampa Bay watershed
- gdal_path
- Character string specifying the path to GDAL binaries (e.g., "C:/OSGeo4W/bin"). If NULL (default), assumes GDAL is in system PATH. 
- chunk_size
- Integer. For large datasets, process in chunks of this many features. Set to NULL (default) to process all at once. This applies only to the final union with the soils data. 
- cast
- Logical. If TRUE, will cast multipolygon geometries to polygons before processing. Default is FALSE, which keeps multipolygons as is (usually faster). 
- verbose
- Logical. If TRUE, will print progress messages. Default is TRUE. 
Value
A summarized data frame containing the union of all inputs showing major bay segment, sub-basin (basin), drainage feature (drnfeat), jurisdiction (entity), land use/land cover (FLUCCSCODE), CLUCSID, IMPROVED, hydrologic group (hydgrp), and area in hectures. These represent all relevant spatial combinations in the Tampa Bay watershed.
Details
Relies heavily on util_nps_union to perform the union operations efficiently using GDAL/OGR.  All input must have the CRS of NAD83(2011) / Florida West (ftUS), EPSG:6443.