Geotiffread---Error using geotiffinfo>readinfo (line 278) Multiple images exist in the file and their sizes are different.
Show older comments
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
More Answers (3)
semihkuter
on 20 May 2022
1 vote
just use readgeoraster function, it will ease your pain... :-)
1 Comment
Digna Rueda-Roa
on 21 Dec 2022
It worked for me. Thank you, Semihkuter
Harsha Priya Daggubati
on 23 Dec 2019
0 votes
Hi,
Can you give details about the error shown when you tried the procedure mentioned in the link.
1 Comment
davide verdicchio
on 23 Dec 2019
jun g
on 7 Feb 2020
0 votes
You must restart MATLAB after modifying the "geotifinfo.m".
Me
Categories
Find more on Standard File Formats in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!