How to use addCustomTerrain function with raster image (bil) format?
Show older comments
I am trying to implement
this project uses dted file format which only takes a small tile.
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)
I want load my own Raster Image(bil file) which is a large file and later pass it on into function
addCustomTerrain
How can I do that?
Answers (1)
Milan Bansal
on 22 Dec 2023
0 votes
Hi Ifrah Maqsood,
It is my understanding that you are facing issues when passing your raster image with BIL (Band-Interleaved by Line ) file format into the "addCustomTerrain" function.
The "addCustomTerrain" function strictly supports only the DTED (Digital Terrain Elevation Data) file formats i.e. ".dt0", ".dt1" and ".dt2". There are no direct functions provided in the MATLAB to convert a BIL raster file into a DTED file. Please consider using the external sources to process the raster file and convert it into the required file format.
Please refer to the documentation to learn more about "addCustomTerrain" function.
Hope it helps!
Categories
Find more on Mapping Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!