How to use addCustomTerrain function with raster image (bil) format?

조회 수: 9 (최근 30일)
Ifrah Maqsood
Ifrah Maqsood 2022년 5월 31일
답변: Milan Bansal 2023년 12월 22일
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?

답변 (1개)

Milan Bansal
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!

카테고리

Help CenterFile Exchange에서 Mapping Toolbox에 대해 자세히 알아보기

제품


릴리스

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by