getMap
Get raster map from server
Description
dynamically renders and retrieves a color or grayscale, geographically referenced,
raster map from the Web map services server, A
= getMap(server
,mapRequestURL
)server
, and stores
it in A
. Parameters in the URL,
mapRequestURL
, define the map. The
getMap
function also updates the
RequestURL
property of the server with
mapRequestURL
.
Most of the time, you can read a WMS map using wmsread
function instead of the getMap
function. Use the getMap
function when:
Working with non-EPSG:4326 reference systems
Creating an animation of a specific geographic area over time
Retrieving multiple layers from a WMS server
Examples
Input Arguments
Output Arguments
Tips
getMap
accesses the Internet to retrieve the map. Periodically, the
WMS server is unavailable. Retrieving the map can take several minutes.
Version History
Introduced before R2006a