Mapping SRTM data

3 ビュー (過去 30 日間)
Joan
Joan 2011 年 4 月 7 日
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!

採用された回答

Joan
Joan 2011 年 4 月 22 日
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.

その他の回答 (1 件)

Sean de Wolski
Sean de Wolski 2011 年 4 月 7 日
showdemo mapexgeo
doesn't work for you?
What do you mean by they aren't working anymore?
  2 件のコメント
Joan
Joan 2011 年 4 月 19 日
Sorry I didn't see your answer sooner: the system did not email me when you posted, even though it was supposed to.
Yes, showdemo mapexgeo works for me, but those are based on data included with the demo. The examples I'm referring to are in the help topic "Display a Merged Elevation and Bathymetry Layer (SRTM30)". This is exactly what I want to do, but with my own coastal region of course. earth.jpl.nasa.gov is no longer supporting WMS services. I have found what I think are SRTM data on other servers but I can't seem to get this code to work. I would like some help with the settings in wmsread so that it will return something that geoshow will take as input. For example:
usgs=wmsfind('usgs*ned')
LayerName='mergedSrtm';
MapLayer=usgs.refine(LayerName)
latlim = [31.89 32.04];
lonlim = [-81.02 -80.80];
CellSize=1/3600;
[Z1, R1] = wmsread(MapLayer, 'Latlim', latlim, 'Lonlim', lonlim, 'CellSize', CellSize);
geoshow(Z1,R1)
Thanks for any help you can give with troubleshooting.
Muhammad Hussain
Muhammad Hussain 2011 年 12 月 27 日
is there any way to read Aster GDEM data in Matlab in GEOTIFF format?

サインインしてコメントする。

Community Treasure Hunt

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

Start Hunting!

Translated by