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

97 views (last 30 days)
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

Accepted Answer

Harsha Priya Daggubati
Harsha Priya Daggubati on 26 Dec 2019
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/

More Answers (3)

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

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

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

Categories

Find more on Data Import and Export in Help Center and File Exchange

Tags

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!