Get capabilities document from server
retrieves the capabilities document from the Web map service server,
capabilities
= getCapabilities(server
)server
, and updates the RequestURL
property of the server.
nasa = wmsfind('NASA SVS Image', 'SearchField', 'servertitle'); serverURL = nasa(1).ServerURL; server = WebMapServer(serverURL); capabilities = getCapabilities(server);
The getCapabilities
method accesses the Internet to retrieve the
document. Periodically, the WMS server is unavailable. Retrieving the document can take
several minutes.