Questions about mapping toolbox

7 visualizaciones (últimos 30 días)
Shibing Liu
Shibing Liu el 9 de En. de 2017
Comentada: Walter Roberson el 7 de Jul. de 2017
I tried to run following codes. But it gave a 0x1 empty 'layers' and following warning. Does anyone know what is happening please? I am trying to get the elevation information from a map server. Thank you for your help.
layers = wmsfind('nasa.network*elev', 'SearchField', 'serverurl');
layers = wmsupdate(layers);
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.'.
  1 comentario
Walter Roberson
Walter Roberson el 9 de En. de 2017
I confirm the problem. Unfortunately, I do not have any ideas why it is happening.

Iniciar sesión para comentar.

Respuesta aceptada

Ed Marquez
Ed Marquez el 12 de En. de 2017
Editada: Ed Marquez el 12 de En. de 2017
I was able to run the code you shared with no warnings or errors. 'layers' was generated and has the 11 layers that are expected. I attached the variable 'layers' as a MAT file to this answer so you can check.
It seems like the issue could be computer or connection specific...
Also, I ran the code in all MATLAB versions between R2014a and R2016b and 'layers' was always generated, so the issue may not be related to a specific MATLAB version.
  4 comentarios
Sarachhandrika CH
Sarachhandrika CH el 8 de Mayo de 2017
I'm not able to use the wmsupdate and wmsread functions. Everytime I use them the above error is returned.
Walter Roberson
Walter Roberson el 8 de Mayo de 2017
I just tested now with the code posted in the original Question, and the code worked for me in R2017a but not in R2016b.

Iniciar sesión para comentar.

Más respuestas (2)

Alessandro
Alessandro el 9 de Mayo de 2017
Editada: Alessandro el 9 de Mayo de 2017
Hi. Have you found a solution for the issue? I'm experiencing the same problem.
  1 comentario
Walter Roberson
Walter Roberson el 9 de Mayo de 2017
Alessandro, which MATLAB version are you using?

Iniciar sesión para comentar.


Olga Galluppi
Olga Galluppi el 7 de Jul. de 2017
I have the same problem, can someone help ?
  1 comentario
Walter Roberson
Walter Roberson el 7 de Jul. de 2017
Olga, which MATLAB release are you using?

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