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 layerarray. The number of layers from this server that are being removed from the layerarray is 11. The error message returned by the server is: 'Expected thecapabilities document from the server, 'http://www.nasa.network.com/elev?', tocontain 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.
Best Answer