You can search for layers by using your Web browser rather than by using the WMS Database.
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
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
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
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)