Get raster map from server
Syntax
A = server.getMap(mapRequestURL)
Description
A = server.getMap(mapRequestURL) dynamically
renders and retrieves a color or grayscale, geographically referenced,
raster map from the server and stores it in A.
Parameters in the URL, mapRequestURL, define the
map. The getMap method also updates the WMSMapRequest.RequestURL property mapRequestURL.
getMap accesses the Internet to retrieve
the map, so several minutes may elapse before the map is retrieved,
or the server may be unavailable.
Example
Retrieve a map of the global_mosaic layer.
layers = wmsfind('global_mosaic', ...
'SearchField', 'layername', 'MatchType', 'exact');
layer = layers(1);
server = WebMapServer(layer.ServerURL);
mapRequest = WMSMapRequest(layer, server);
globalMosaic = server.getMap(mapRequest.RequestURL);
 | getCapabilities (WebMapServer) | | updateLayers (WebMapServer) |  |
Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
Get the Interactive Kit