To tabulate spatial data wrt area of interest (aoi) drawn, we're currently using ST_INTERSECTS(), which returns the entire features from the dataset, whereas ST_INTERSECTION() would return just the spatial intersection of aoi with the dataset.
This would be especially relevant to datasets in which we summarize data within based on area, like cetacean-pacific-summerFin Whale, Pacific Summer Density;Humpback Whale, Pacific Summer Density;Sperm Whale, Pacific Summer Density;Blue Whale, Pacific Summer Density in spatial | marineenergy.app - Google Sheets.
Hi @geocoug,
To tabulate spatial data wrt area of interest (aoi) drawn, we're currently using
ST_INTERSECTS()
, which returns the entire features from the dataset, whereasST_INTERSECTION()
would return just the spatial intersection of aoi with the dataset.This would be especially relevant to datasets in which we summarize data within based on area, like cetacean-pacific-summer Fin Whale, Pacific Summer Density;Humpback Whale, Pacific Summer Density;Sperm Whale, Pacific Summer Density;Blue Whale, Pacific Summer Density in spatial | marineenergy.app - Google Sheets.
functions.R:
tabulate_dataset_shp_within_aoi()
: