Mapping SRTM data

17 visualizzazioni (ultimi 30 giorni)
Joan
Joan il 7 Apr 2011
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!

Risposta accettata

Joan
Joan il 22 Apr 2011
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.

Più risposte (1)

Sean de Wolski
Sean de Wolski il 7 Apr 2011
showdemo mapexgeo
doesn't work for you?
What do you mean by they aren't working anymore?
  2 Commenti
Joan
Joan il 19 Apr 2011
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 il 27 Dic 2011
is there any way to read Aster GDEM data in Matlab in GEOTIFF format?

Accedi per commentare.

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by