Retrieve Elevation Data from Web Map Server is not working
Show older comments
Hello,
when I run the code to get elevation maps (find it on the page https://it.mathworks.com/help/map/retrieving-elevation-data.html):
layers = wmsfind('nasa.network*elev', 'SearchField', 'serverurl');
layers = wmsupdate(layers);
I get the warning:
Warning: An error occurred while attempting to update layers from the server,
'http://www.nasa.network.com/elev?'. These layers are being removed from the layer
array. The number of layers from this server that are being removed from the layer
array is 11. The error message returned by the server is: 'Expected the
capabilities document from the server, 'http://www.nasa.network.com/elev?', to
contain valid XML.'.
And if I try to display the layers:
disp(layers,'Properties',{'LayerTitle','LayerName'})
I get zero layers:
0x1 empty WMSLayer
Can anyone help? This code was working on March 2017 on my computer. I have tried to make it run over several different internet connections, different computers and Matlab versions but it is never working. I have seen somebody already asked about this but nobody responded.
Thank you.
Accepted Answer
More Answers (0)
Categories
Find more on Web Map Service in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!