How to use addCustomTerrain function with raster image (bil) format?
4 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
回答(1 个)
Milan Bansal
2023-12-22
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!
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!