topo_matrix: Get topography matrix

View source: R/topo_matrix.R

topo_matrixR Documentation

Get topography matrix

Description

retrieve a topographical matrix for the canvas region. Set the resolution of the cell size and the elevation source.

Usage

topo_matrix(res, src = "gebco", resample = "CubicSpline", ...)

Arguments

res

The desired cell resolution of the matrix in canvas CRS units.

src

Default is 'gebco'. The server from which to download topographic data. Use raytrix::topo_sources() to view available sources (via toppgraphy). See details.

Details

See https://github.com/hypertidy/gdalio and https://gdal.org/drivers/raster/wms.html for examples of custom sources from the web. Alternatively, you can download a file and specify the local path.


h-a-graham/raytrix documentation built on Nov. 19, 2024, 10:27 p.m.