Documentation

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.

getCapabilities

Get capabilities document from server

Syntax

capabilities = getCapabilities(server)

Description

example

capabilities = getCapabilities(server) retrieves the capabilities document from the Web map service server, server, and updates the RequestURL property of the server.

Examples

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);

Input Arguments

collapse all

Web map server, specified as a WebMapServer object.

Output Arguments

collapse all

Capabilities document, returned as a WMSCapabilities object.

Tips

The getCapabilities method accesses the Internet to retrieve the document. Periodically, the WMS server is unavailable. Retrieving the document can take several minutes.

Introduced before R2006a

Was this topic helpful?