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

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?

Antworten (1)

Milan Bansal
Milan Bansal am 22 Dez. 2023

0 Stimmen

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!

Kategorien

Produkte

Version

R2022a

Gefragt:

am 31 Mai 2022

Beantwortet:

am 22 Dez. 2023

Community Treasure Hunt

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

Start Hunting!

Translated by