View source: R/convert_shapefile.R
convert_shapefile | R Documentation |
convert_shapefile
reads in a shapefile and creates an extrapolation with a chosen resolution
convert_shapefile(
file_path,
projargs = NULL,
grid_dim_km = c(2, 2),
projargs_for_shapefile = NULL,
make_plots = FALSE,
quiet = TRUE,
area_tolerance = 0.05,
...
)
file_path |
path for shapefile on harddrive |
projargs |
A character string of projection arguments used to project the shapefile prior to construction an extrapolation-grid; the arguments must be entered exactly as in the PROJ.4 documentation; Default |
grid_dim_km |
numeric-vector with length two, giving the distance in km between cells in the automatically generated extrapolation grid; only used if |
projargs_for_shapefile |
projection-arguments (e.g., as parsed by |
make_plots |
Boolean indicating whether to visualize inputs and outputs as maps |
... |
other objects passed for individual regions (see example script) |
extrapolation-grid
Cecilia O'Leary, James Thorson
## Not run:
convert_shapefile( file_path="C:/Users/James.Thorson/Desktop/Work files/AFSC/2020-03 -- Add ICES grids/IBTS grids/BITS/Shapefile.shp", make_plots=TRUE )
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.