5 Restoration Maps
This step builds spatial layers that characterize restoration potential within existing conservation lands for each of the seven TBCMP counties. All processing is implemented in R/funcs.R and executed in R/05_restoration_maps.R.
Overview
For each county, a single sf object is produced that dissolves restorable lands within existing conservation into four broad habitat categories for mapping. Only existing conservation lands are included. Proposed conservation lands represent future acquisition opportunities and are intentionally excluded.
The four output categories are:
| Category | Description |
|---|---|
| Coastal Uplands | Restorable upland habitat within the coastal stratum |
| Freshwater Wetlands | Restorable wetland habitat outside the coastal stratum |
| Native Uplands | Restorable upland habitat outside the coastal stratum |
| Tidal Wetlands | Restorable tidal habitat (Mangrove Forests/Salt Barrens and Salt Marshes combined) |
Mangrove Forests/Salt Barrens and Salt Marshes from restorelyr are merged into the single Tidal Wetlands category because the two habitat types share overlapping restoration potential at the mapping scale.
Input Layers
One county-wide shared layer is loaded at the start of the script:
| Object | File | Description |
|---|---|---|
tbcmp_cnt |
data/01_inputs/tbcmp_cnt.RData |
Seven-county boundary polygons |
One county-specific layer is loaded inside the loop for each county:
| Object | File | Description |
|---|---|---|
restorelyr_<county> |
data/02_current_layers/restorelyr_<county>.RData |
Restorable lands in conservation, with Habitat and typ columns |
County Processing Loop
The script loops over all seven counties in tbcmp_cnt. For each county:
- Load
restorelyr_<county>fromdata/02_current_layers/ - Call
restdat_fun()to produce the dissolved restoration potentialsfobject - Save the result as
restmap_<county>.RDataandrestmap_<county>.shpindata/05_restoration_maps/
Restoration Layer Assembly
restdat_fun() processes restorelyr in three steps:
Filter to existing conservation: Rows where
typ == "Existing"are retained. Proposed conservation lands are excluded.Reclassify tidal categories:
Mangrove Forests/Salt BarrensandSalt Marshesare both relabelled asTidal Wetlands. All otherHabitatvalues (Coastal Uplands,Freshwater Wetlands,Native Uplands) are unchanged.Dissolve by category: Geometries are grouped by
Habitatand dissolved usingfixgeo(), which unions, casts to individual POLYGONs, and applies a zero buffer to resolve topology errors.
The result is an sf object with one row per category and a single Habitat attribute column.
Output Files
All output files are written to data/05_restoration_maps/. Each county produces two files:
| File | Description |
|---|---|
restmap_<county>.RData |
sf object with Habitat column (four restoration categories) |
restmap_<county>.shp |
Shapefile equivalent of the same layer |
| County | RData file |
|---|---|
| Citrus | restmap_citrus.RData |
| Hernando | restmap_hernando.RData |
| Hillsborough | restmap_hillsborough.RData |
| Manatee | restmap_manatee.RData |
| Pasco | restmap_pasco.RData |
| Pinellas | restmap_pinellas.RData |
| Sarasota | restmap_sarasota.RData |
Mapping
restmap_leaflet() is a separate function that accepts the spatial output from restdat_fun() and produces an interactive leaflet map. It is not called in 05_restoration_maps.R but is available for use in downstream analysis. The four restoration categories use fixed colours for display:
| Category | Colour |
|---|---|
| Coastal Uplands | brown4 |
| Freshwater Wetlands | orange |
| Native Uplands | darkgreen |
| Tidal Wetlands | yellow |
Key Functions
| Function | Purpose |
|---|---|
restdat_fun() |
Filter to existing conservation, reclassify tidal categories, dissolve by Habitat, return sf |
restmap_leaflet() |
Format restdat_fun() output into an interactive leaflet map for display |