Search local database for Web map servers and layers
searches the fields of the installed Web Map Service (WMS) database for partial matches of
layers
= wmsfind(querystr
)querystr
, which is a string, string array, character vector, or cell
array of character vectors. By default, wmsfind
searches the
Layer
or LayerName
properties but you can include
other fields in the search using the SearchFields
parameter.
wmsfind
returns layers
, an array of WMSLayer
objects containing one object for each layer whose name or title
partially matches querystr
. WMS servers produce maps of spatially
referenced raster data, such as temperature or elevation, that are known as
layers.
By default, wmsfind
searches the WMS database installed with the
product. Using the optional Version
parameter, you can search a
database from a previous release or search a version of the WMS database hosted on
MathWorks® website. The information found in the installed database was validated at the
time of the software release and is not automatically updated. The web-hosted database
provides more up-to-date information about servers because it is updated regularly. Note,
however, that searching the web-hosted database requires a connection to the
Internet.
modifies the search of the WMS database based on the values of the parameters. You can
abbreviate parameter names and case does not matter.layers
= wmsfind(querystr
,Name,Value
)
TheWMSLayer
objects returned by wmsfind
contain
properties with the same names as the field names of the WMS database, along with three
additional properties: 'Abstract'
,
'CoordRefSysCodes'
, and 'Details'
. The WMS
database does not contain information about these properties. To get this information
about a server, you must use the wmsupdate
function which updates these
properties of the WMSLayer
object by downloading information from the
server. To view these properties, use the WMSLayer.disp
method,
specifying the 'Properties'
parameter value 'all'
.
If you want to know more about a WMS server, use the wmsinfo
function with the specific server URL.
WebMapServer
| wmsinfo
| WMSLayer
| wmsread
| wmsupdate