refine
Refine search of WMS layers
Description
refined = refine(layers,querystr)layers, for a partial
                match with the string or character vector in querystr. By
                default, refine searches the Layer or
                    LayerName properties but you can include other fields in the
                search using the SearchFields parameter.
refined = refine(___,Name,Value,...)
Examples
Find layers in the WMS Database that contain information about temperature.
temperature = wmsfind('temperature');Refine the search of temperature layers to find only those layers that contain annual temperature information.
annual = refine(temperature,'annual');Refine the search of temperature layers to find layers containing only sea surface temperatures.
sst = refine(temperature,'sea surface');Refine the search of sea surface temperature layers to include only layers that include annual information.
annual_and_sst = refine(sst,'annual');
annual_or_sst = [sst;annual];Input Arguments
Layers to search, specified as an array of WMSLayer objects.
Characters to search for in WMSLayer object fields,
                        specified as a string or character vector. querystr can
                        contain the asterisk wildcard character (*).
Example: 'temperature'
Data Types: char | string
Name-Value Arguments
Specify optional pairs of arguments as
      Name1=Value1,...,NameN=ValueN, where Name is
      the argument name and Value is the corresponding value.
      Name-value arguments must appear after other arguments, but the order of the
      pairs does not matter.
    
      Before R2021a, use commas to separate each name and value, and enclose 
      Name in quotes.
    
Example: 'IgnoreCase',false
Fields to search in the WMSLayer objects, specified
                            as a string, string array, character vector, or cell array of character
                            vectors. The function searches the values of the specified fields in the
                                WMSLayer objects for a partial or exact match
                            with querystr. Multiple options may be included in
                            a string array or cell array of character vectors.
The table lists valid values of
                            searchFields.
| Field | Behavior | 
|---|---|
| 'layer' | Search both the LayerTitleand theLayerNamefields. | 
| 'layername' | Search the LayerNamefield in theWMSLayerobjects. The layer name
                                            is an abbreviated form of theLayerTitlefield and is the
                                            keyword the server uses to retrieve the layer. | 
| 'layertitle' | Search the LayerTitlefield in theWMSLayerobjects. The layer title
                                            includes descriptive information about a layer and
                                            facilitates understanding the meaning of the raster
                                            values of the layer. | 
| 'server' | Search the ServerURLin theWMSLayerobjects. The server URL
                                            and layer information facilitate the reading of raster
                                            layers by the functionwmsread. | 
| 'servertitle' | Search the ServerTitlefield in
                                            theWMSLayerobjects. A server title
                                            includes descriptive information about the
                                            server. | 
| 'serverurl' | Search the ServerURLin theWMSLayerobjects. The server URL
                                            and layer information facilitate the reading of raster
                                            layers by the functionwmsread. | 
| 'abstract' | Search the abstractfield in theWMSLayerobjects. | 
| 'any' | Search all fields. | 
Data Types: char | string
Strictness of match, specified as the string or character vector
                                'partial' or 'exact'. If
                                'MatchType' is 'exact' and
                                querystr is '*', a match
                            occurs when the search field matches the character
                                '*'.
Data Types: char | string
Ignore case when comparing field values to
                            querystr, specified as the logical value
                                true or false.
Data Types: logical
Output Arguments
Version History
Introduced in R2009b
See Also
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Web サイトの選択
Web サイトを選択すると、翻訳されたコンテンツにアクセスし、地域のイベントやサービスを確認できます。現在の位置情報に基づき、次のサイトの選択を推奨します:
また、以下のリストから Web サイトを選択することもできます。
最適なサイトパフォーマンスの取得方法
中国のサイト (中国語または英語) を選択することで、最適なサイトパフォーマンスが得られます。その他の国の MathWorks のサイトは、お客様の地域からのアクセスが最適化されていません。
南北アメリカ
- América Latina (Español)
- Canada (English)
- United States (English)
ヨーロッパ
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)