why do I get the following whenever I try to use wmsread() for any of the NRL TileServer.."Expected the capabilities document from the server, 'http://ge​oint.nrlss​c.navy.mil​/nrltilese​rver/wms?'​, to contain valid XML."

1 view (last 30 days)
See Question

Answers (1)

Jatin Waghela
Jatin Waghela on 2 Oct 2017
Edited: Jatin Waghela on 2 Oct 2017
The "wmsread()" function relies on a stored list of servers responding in a specific way. These servers are out on the internet and MathWorks cannot control them. Sometimes they are moved, are removed, or change their protocol. Usually, upgrading to the most recent version of MATLAB resolves errors encountered from those causes. In this case, upgrading to R2017a/2017b should allow you to read the WMS successfully.
Please refer to the below documentation link which gives more information about 'wmsread()' function:

Tags

Community Treasure Hunt

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

Start Hunting!