MATLAB: Mapping SRTM data

geoshowmappingMapping Toolboxsrtm

Is anyone using the mapping toolbox to successfully map SRTM data? Most examples provided with the mapping toolbox no longer work and I cannot seem to read in anything that geoshow is willing to take as input. A working example would be much appreciated!

Best Answer

  • I've got this particular layer working. I now realize that sometimes wmsread returns data that are not the type that geoshow wants. Editing the last line to: geoshow(double(Z1),R1,'DisplayType','surface'); works. After that: demcmap(double(Z1)) is a better colormap than default.