Remove custom terrain data
the custom terrain data specified by the user-defined
terrainName. You can use this function to remove terrain data
that is no longer needed. The terrain data to be removed must have been previously
Site Viewer Maps Using Custom Terrain
Add terrain for a region around Boulder, CO. The DTED file was downloaded from the "SRTM Void Filled" data set available from the U.S. Geological Survey.
dtedfile = "n39_w106_3arc_v2.dt1"; attribution = "SRTM 3 arc-second resolution. Data available " + ... "from the U.S. Geological Survey."; addCustomTerrain("southboulder",dtedfile,"Attribution",attribution)
Use the custom terrain name in Site Viewer.
viewer = siteviewer("Terrain","southboulder");
Create a site with the terrain region.
mtzion = txsite("Name","Mount Zion", ... "Latitude",39.74356, ... "Longitude",-105.24193, ... "AntennaHeight", 30); show(mtzion)
Create a coverage map of the area within 20 km of the transmitter site.
coverage(mtzion, ... "MaxRange",20000, ... "SignalStrengths",-100:-5)
Remove the custom terrain.
terrainName — User-defined identifier for terrain data
string scalar | character vector
User-defined identifier for terrain data previously added using
addCustomTerrain, specified as a string
scalar or a character vector.
Introduced in R2019a