Reproject a SOmap object by specifying a 'target' projection string (PROJ4)
# S3 method for SOmap
reproj(x, target, ..., source = NULL)
# S3 method for SOmap_auto
reproj(x, target, ..., source = NULL)
# S3 method for SOmap_management
reproj(x, target, ..., source = NULL)
# S3 method for SOmap_legend
reproj(x, target, ..., source = NULL)
# S3 method for BasicRaster
reproj(x, target, ..., source = NULL)
# S3 method for Spatial
reproj(x, target, ..., source = NULL)
# S3 method for sf
reproj(x, target, ..., source = NULL)
# S3 method for sfc
reproj(x, target, ..., source = NULL)
coordinates
target specification (PROJ.4 string or epsg code)
arguments passed to the underlying projection engine, see reproj::reproj()
source specification (PROJ.4 string or epsg code)
See reproj::reproj()
for details.
So many ...
if (FALSE) {
set.seed(27)
amap <- SOmap_auto()
reproj(amap, "+proj=moll")
reproj(amap, "+proj=laea +lat_0=-55 +lon_0=154 +datum=WGS84")
bmap <- SOmap(trim = -35)
## works great!
reproj(bmap, "+proj=stere +lat_0=-90 +lon_0=147 +lat_ts=-71 +datum=WGS84")
## these aren't exactly ideal
reproj(bmap, "+proj=ortho +lat_0=-70")
reproj(bmap, "+proj=laea +lat_0=-55 +lon_0=154 +datum=WGS84")
}