Raster

raster operations

gap_fill_raster()

Gap-fill rasters with value based on function and mask

get_d_prjres()

Get dataset object in given projection-resolution

get_gmbi_grpsmdl_prjres()

Get biogeographic stack, given taxonomic grouping, modeling period and projection-resolution

get_grid()

Get empty global grid

get_r_projection()

Get projection info for raster

get_tif_projection()

Get projection info for tif of raster

lyr_to_tif()

Write layer in raster stack to tif

qmap_r()

Quick leaflet map of raster

rescale_raster()

Rescale raster

rescale_stack()

Rescale stack

tif_to_shp_gcs()

Convert raster tif to polygon shapefile in geographic coordinates for mapping prioritizr solution in non-Mercator projection

Prioritization

prioritizr helper functions

get_tif_area_stats()

get area statistics from tif of solution

get_tif_solution()

get raster solution of tif

map_r2png()

map raster to png

map_r2pdf()

map raster to pdf

problem_diagnostics()

Produce diagnostics table for setting relative targets of features

r_diff()

Calculate difference of two raster solutions

report_solution()

Report on conservation solution

run_app()

Run the Shiny app map viewer for BBNJ inputs and

scenarios_diff()

calculate scenario difference

solve_log()

Helper function to run prioritizr::solve() and log output and resulting raster

tbl_target_representation()

Display table of target representaiton in conservation problem solution

Datasets

input data for high seas MPA scenarios

p_abnj

Polygon of areas beyond national jurisdiction, ie high seas area

p_abnj_s05

Simplified polygon of areas beyond national jurisdiction, ie high seas area

p_eez_s05

Simplified polygons of exclusive economic zones (EEZs)

p_iho

Polygon of IHO Seas

p_iho_s05

Simplified polygon of IHO Seas

p_ihor

Polygon of IHO Seas Revised, ie Seven Seas

p_ihor_s05

Simplified polygon of IHO Seas Revised, ie Seven Seas

p_mine_claims

Polygons of mine claims (ISA)

p_ppow

Polygon of Pelagic Provinces of the World (Spalding et al, 2012) for high seas

p_ppow_s05

Simplified polygon of Pelagic Provinces of the World (Spalding et al, 2012) for high seas

r_diff()

Calculate difference of two raster solutions

r_mine_claims

Raster for presence of mining claim (Interridge Vent Database v3.4)

r_phys_scapes_hetero

Raster of heterogeneity of 1 thru 11 classes of benthic seascapes (Harris & Whiteway, 2009)

r_phys_vents

Raster for count of hydrothermal vents (Interridge Vent Database v3.4)

r_pu_id

Raster of planning unit id for high seas

r_to_prjres()

Project raster to projection-raster

r_vgpm

Raster for average Vertically Generalized Production Model (VGPM)

s_bio_gmbi

Raster stack of global marine biodiversity indicators from AquaMaps and IUCN

s_fish_gfw

Raster stack from Global Fishing Watch analysis of high seas (Sala et al, 2018)

s_fish_saup

Raster stack from Sea Around Us Project at UBC (Cheung, Lam et al; in draft) of maximum catch potential

s_fish_saup_v2

Raster stack version 2 from Sea Around Us Project at UBC (Cheung, Lam et al; in draft) of maximum catch potential

s_ihor

Stack of rasters describing presence of seven seas from IHO revised (IHOR)

s_phys_scapes

Raster stack for area (km2) of 1 thru 11 classes of benthic seascapes (Harris & Whiteway, 2009)

s_phys_seamounts

Stack for count of seamounts (Kim & Wessel, 2011) based on depth bin

s_to_prjres()

Project stack to projection-raster