Skip to content

Commit

Permalink
Merge branch 'dev' of github.com:ocean-tracking-network/glatos into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisholbrook committed Aug 29, 2024
2 parents c8ca65b + 5a3fda7 commit 716251f
Show file tree
Hide file tree
Showing 3 changed files with 374 additions and 303 deletions.
4 changes: 2 additions & 2 deletions R/data.r
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#' @examples
#' \dontrun{
#' plot(sf::st_geometry(great_lakes_polygon))
#' }
#' }
#'
#' @author Todd Hayden (coerced to sf via by C. Holbrook)
"great_lakes_polygon"
Expand Down Expand Up @@ -135,5 +135,5 @@
#' [read_vdat_csv()].
#'
#' @author C. Holbrook
#'
#'
"vdat_csv_schema"
13 changes: 6 additions & 7 deletions R/extdata.r
Original file line number Diff line number Diff line change
Expand Up @@ -74,30 +74,29 @@ NULL
#' @name shoreline
#'
#' @section Filename: shoreline.zip
#'
#'
#' @section Used to make [great_lakes_polygon].
#'
#'
#' @details Note from Todd: "This polygon layer of GL shoreline was modified by
#' hand to include Saginaw, Tittabawasssee, Maumee, and Sandusky rivers.
#' Outlines of rivers are not precise but were wide enough to allow a
#' continuous connection between pixels for the entire undammed river stretch
#' when the 'rasterize' function is used to produce a raster layer of the GL
#' in QGIS."
#'
#'
#' @details Todd's original file name was 'coastline_poly_modified_rivers'.
#'
#' @examples
#'
#'
#' # Read polygon from shapefile
#'
#'
#' poly_file <- system.file("extdata", "shoreline.zip", package = "glatos")
#'
#' poly <- sf::st_read(paste0("/vsizip/", poly_file))
#'
#'
#' \dontrun{
#' plot(sf::st_geometry(poly))
#' }
#'
#'
#' @author Todd Hayden
#'
Expand Down
Loading

0 comments on commit 716251f

Please sign in to comment.