gdaldem
gdaldem(dataset, method, options=String[]; dest="/vsimem/tmp", color=name|GMTcpt, kw...)
Tools to analyze and visualize DEMs.
Parameters
dataset: The source dataset.method: the processing to apply (one of “hillshade”, “slope”, “aspect”, “color-relief”, “TRI”, “TPI”, “Roughness”).options: List of options (potentially including filename and open options). The accepted options are the ones of the gdaldem utility.
Keyword Arguments
color: color file (mandatory for “color-relief” processing, should be empty otherwise). Ifcoloris just a CPT name we compute a CPT from it and the input grid.kw...: keyword=value arguments whenmethodis hillshade.
Returns
A GMT grid or Image, or a GDAL dataset (or nothing if file was writen on disk).
Source Code
This function has multiple methods:
gdaldem(ds::GMT.Gdal.IDataset, processing::String, opts::Vector{String}; dest, gdataset, colorfile)- gdal.jl:1663gdaldem(ds::GMT.Gdal.IDataset, processing::String; ...)- gdal.jl:1663gdaldem(dataset::GMT.Gdal.Dataset, processing::String, options::Vector{String}; dest, gdataset, colorfile, save)- gdal.jl:1649gdaldem(dataset::GMT.Gdal.Dataset, processing::String; ...)- gdal.jl:1649gdaldem(indata, method::String, opts::Vector{String}; dest, kwargs...)- gdal_tools.jl:248gdaldem(indata, method::String; ...)- gdal_tools.jl:248