Geotiffread---Error using geotiffinfo>readinfo (line 278) Multiple images exist in the file and their sizes are different.

44 次查看(过去 30 天)
Hello everybody. I have a problem with a tiff file. To load the tiff file in matlab I used "Geotiffread" but it gives me the following error:
+++Error using geotiffinfo> readinfo (line 278)
Multiple images exist in the file and their sizes are different.++
I tried also with the following link, but when I try to modify the "Geotiffinfo" function it still gives me an error.
https://cosmojiang.wordpress.com/2018/04/02/matlab-geotiffread-for-multiple-layers/
How can I solve it?
Thanks

采纳的回答

Harsha Priya Daggubati
Hi,
Is this the error you are getting even after following the procedure mentioned in the link.
https://cosmojiang.wordpress.com/2018/04/02/matlab-geotiffread-for-multiple-layers/

更多回答(3 个)

semihkuter
semihkuter 2022-5-20
just use readgeoraster function, it will ease your pain... :-)

Harsha Priya Daggubati
Hi,
Can you give details about the error shown when you tried the procedure mentioned in the link.

jun g
jun g 2020-2-7
You must restart MATLAB after modifying the "geotifinfo.m".
Me

类别

Help CenterFile Exchange 中查找有关 Data Import and Export 的更多信息

标签

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by