You can search for layers by using your Web browser rather than by using the WMS Database. For example, this approach allows you to view layers developed more recently than the last software release.
To search for layers outside the WMS Database, use your favorite search engine. If you are using Google®, select Images and enter the following in the search box: getmap wms.
View the images to choose a map. Click the map link and find the WMS GetCapabilities request somewhere on the page. If you cannot find a GetCapabilities request, try another map.
For this example, the syntax for the URL of the WMS GetCapabilities request appears as follows:
url = ['http://sampleserver1.arcgisonline.com/' ... 'ArcGIS/services/Specialty/ESRI_StatesCitiesRivers_USA/' ... 'MapServer/WMSServer?service=WMS&request=GetCapabilities' ... '&version=1.3.0'];
After you obtain the URL, you can use wmsinfo to return the capabilities document.
c = wmsinfo(url);
Next, read in a layer and display it as a map.
[A,R] = wmsread(c.Layer(1), ... 'BackgroundColor', [0,0,255], 'ImageFormat', 'image/png'); figure usamap(c.Layer(1).Latlim, c.Layer(1).Lonlim) geoshow(A,R)