Synchronize WMSLayer object with server
[
returns a Web Map Service (WMS) layer array with its properties synchronized with
values from the server, where updatedLayers
,index
]
= wmsupdate(layers
)layers
contains only one, unique
ServerURL
. wmsupdate
removes layers that
are no longer available on the server.
wmsupdate
returns the logical array index
which contains true
for each available layer. Thus, the return
value updatedLayers
has the same size as
layers(index)
. Except for deletion,
updatedLayers
preserves the same order of layers as
layers
.
[...] = wmsupdate(
specifies parameter-value pairs that modify the request. Parameter names can be
abbreviated and are case-insensitive.layers
,Name,Value
,
...)
The function accesses the Internet to update the properties. Periodically, the WMS server is unavailable. Updating the layer can take several minutes. The function times-out after 60 seconds if a connection is not made to the server.
To specify a proxy server to connect to the Internet, click Preferences and, in the Preferences dialog box, select Web. Enter your proxy information. Use this feature if you have a firewall.
WebMapServer
| wmsfind
| wmsinfo
| WMSLayer
| wmsread