fix_z | R Documentation |
Create a raster that can be used to define the resolution, origin, and projection to be employed for all least-cost analyses. If a source DEM has such properties you may use that.
fix_z(proj, res = 5, dx = 0, dy = 0)
proj |
A |
res |
A numeric of length one or two nrepresenting the spatial resolution. Default is 5. |
dx |
The horizontal offset from the origin (see |
dy |
The vertical offset from the origin (see |
A SpatRaster object consisting of four cells, with resolution res
and
the origin at x = nx
and y = ny
.
projection <- "+proj=lcc +lat_1=48 +lat_2=33 +lon_0=-100 +datum=WGS84"
z_fix <- fix_z(res = 2, proj = projection)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.