load_map_data {ggOceanMaps} | R Documentation |
Load large shapefile objects
Description
Internal function to load large shapefile objects. Downloads the files if they are not found getOption("ggOceanMaps.datapath")
Usage
load_map_data(x, force = FALSE, downsample = 0)
Arguments
x |
An object from |
force |
Logical indicating whether to download the file even though it exists. Useful when files in the Github repository have been changed. Overwrites the old file. |
downsample |
Integer defining the downsampling rate for raster bathymetries. A value of 0 (default) does not downsample, 1 skips every second row, 2 every second and third. See |
Details
This is an internal function, which is automatically run by the basemap
function. Common users do not need to worry about these details.
Value
A list of spatial objects
Author(s)
Mikko Vihtakari
See Also
[Package ggOceanMaps version 2.2.0 Index]