This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.


Class: WebMapServer

Get capabilities document from server


capabilities = getCapabilities(server)


capabilities = getCapabilities(server) retrieves the capabilities document from the server as a WMSCapabilities object and updates the RequestURL property.


Retrieve the capabilities document from the NASA SVS Image 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.

Was this topic helpful?