Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Save Your Favorite Servers

You can save your favorite layers for easy access in the future. Use wmsupdate to fill in the Abstract, CoordRefSysCodes, and Details fields, and then save the layers. The next example demonstrates how to make a mini-database from the NASA, WHOI, and ESA servers.

  1. Find the servers and update all fields.

    nasa = wmsfind('nasa','SearchField','serverurl');
    favoriteLayers = nasa;
    favoriteLayers = wmsupdate(favoriteLayers, ...
       'AllowMultipleServers', true);
    favoriteServers = favoriteLayers.servers;
    
  2. Save your favorite layers in a MAT-file.

    save favorites favoriteLayers
    

  3. Search within your favorite layers for 'wind speed'. You have updated all fields, so you can search within any field, including the Abstract.

    windSpeed = favoriteLayers.refine('wind speed','SearchFields','any')
Was this topic helpful?