Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

A Web Map Service (WMS) is a standard protocol for serving geo-referenced map images over the internet that are generated by a map server. The specification was developed and first published by the Open Geospatial Consortium[1]  (OGC). WMS provides a way for different organisations to share graphical maps over the internet through specially constructed URLs.[2] 

A key concept of WMS is that of a layer representing a basic unit of geographical information that a WMS client can request as a map image from a WMS server.

...

In this example we will write the macro equivalent of the exercise we solved in Part 2 to visualise our Sea Surface Temperature WMS layer with a Metview macro. We will work in folder 'wms_tutorial' again.

Basics

The implementation of WMS visualisation in Metview macro follows the same principles as in the interactive mode. In macro we work with the macro command equivalent of the WMS Client icon which is called wmsclient.

Automatic Macro Generation

The quickest way to generate a macro is to simply save a visualisation on screen as a Macro icon. Visualise your ‘NASA’ WMS Client icon, drop the ‘coaslines_grey’ and ‘mslp’ icons into the plot and click on the macro icon in the tool bar of the Display Window.

...

Now, if you run this macro you should see your modified plot in the Display Window.

[1] http://www.opengeospatial.org

...

.

...