Contenu principal

serverTitles

Return titles of unique WMS servers

Description

titles = serverTitles(layers) returns the titles of unique servers associated with Web map service layers, layers.

example

Examples

collapse all

Search the WMS Database for government servers. Set the titles of unique servers to a variable.

layers = wmsfind('*.gov*', 'SearchField', 'serverurl');
titles = serverTitles(layers);

Display the first ten servers titles as a column vector.

titles(1:10)'
ans = 10×1 cell
    {'WMS for SST, Aqua MODIS, NPP, 0.0125°, West US, Day time (11 microns), 2002-present (8 Day Composite), Lon+/-180'     }
    {'WMS for Chlorophyll a, North Pacific, NOAA VIIRS, 750m resolution, 2015-present (3 Day Composite), Lon0360'           }
    {'WMS for NRL HYCOM 1/25 deg model output, Gulf of Mexico, 10.04 Expt 31.0, 2009-2014, At Depths'                       }
    {'WMS for SST, Daily Optimum Interpolation (OI), AVHRR Only, Version 2.1, Final, Global, 0.25°, 1981-present, Lon+/-180'}
    {'NASA Earth Observations (NEO) WMS'                                                                                    }
    {'MapPlace OGC WMS 1.1.1 Compliant Server'                                                                              }
    {'THREDDS Data Server'                                                                                                  }
    {'OPENDATA_VCGI_BOUNDARIES_SP_NOCACHE_v2'                                                                               }
    {'OPENDATA_ANR_ECOLOGIC_SP_NOCACHE_v1'                                                                                  }
    {'OPENDATA_ANR_EMERGENCY_SP_NOCACHE_v2'                                                                                 }

Your results might be different because the WMS Database changes each release.

Input Arguments

collapse all

Layers to provide server URLs, specified as an array of WMSLayer objects.

Output Arguments

collapse all

Titles of unique WMS servers, returned as a cell array of character vectors.

Version History

Introduced in R2009b

See Also

|