getCapabilities - Class: WebMapServer
Get capabilities document from server
Syntax
capabilities = server.getCapabilities()
Description
capabilities = server.getCapabilities() retrieves
the capabilities document from the server as a WMSCapabilities object
and updates the RequestURL property. The getCapabilities method
accesses the Internet to retrieve the document. The WMS server may
periodically be unavailable, and several minutes may elapse before
the document is retrieved.
Example
Retrieve the capabilities document from the Jet Propulsion Laboratory
(JPL) server.
layers = wmsfind('jpl', 'SearchField', 'serverurl');
server = WebMapServer(layers(1).ServerURL);
capabilities = server.getCapabilities();
 | WebMapServer class | | getMap (WebMapServer) |  |
Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
Get the Interactive Kit