Mapping SRTM data

6 visualizaciones (últimos 30 días)
Joan
Joan el 7 de Abr. de 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!

Respuesta aceptada

Joan
Joan el 22 de Abr. de 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.

Más respuestas (1)

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

Iniciar sesión para comentar.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by