Why am I unable to use the Mapping Toolbox functions MAPSHOW and GEOSHOW with inputs that have INT16 datatypes?

3 views (last 30 days)
I have MODIS data saved in a TIF-file that I read into the MATLAB workspace with the function GEOTIFFREAD. The output of GEOTIFFREAD has INT16 datatype. Whenever I input data of type INT16 into the functions MAPSHOW or GEOSHOW, I receive the following error:
??? Undefined function or method 'maphsow' for input arguments of type 'int16'.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 26 Oct 2012
This enhancement has been incorporated in Release 2010b (R2010b). For previous product releases, read below for any possible workarounds:
The Mapping Toolbox 2.5 (R2007a) functions GEOSHOW and MAPSHOW do not support INT16 datatypes.
If you have the Image Processing Toolbox, you can work around this issue by using the IM2UINT16 function to convert your data to type UINT16. MAPSHOW and GEOSHOW support UINT16 type data.

More Answers (0)

Tags

Products


Release

R2007a

Community Treasure Hunt

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

Start Hunting!