Providing geoscience data globally oneGeology logo Navigation
Main content
Bottom links

OneGeology

Home > How to serve a OneGeology WMS > How data from a WMS can be viewed and accessed

1.4 How data from a WMS can be viewed and accessed

This section shows how you may access any WMS service (not only those WMS accessible through the OneGeology Portal client) in a number of popular desktop software clients and web based browser applications.

Generally, (we will run through this again per each piece of software or application), to view any WMS you must provide the client software or web application with the URL to the service. This may be referred to as the ‘Service URL’ or the ‘GetCapabilities request’ URL or (XML) document, or a combination of these terms!

Normally, you would use the URL without any parameters, as it is up to the client software and WMS server to work out which version of the WMS standard both can use. Sometimes though you may wish to force a particular version or response, (for example when your service supports a version 1.3.0 WMS, but you want to test your version 1.1.1 WMS before you submit it for inclusion in the OneGeology Portal), and you do this by supplying the appropriate parameters (as below) either in the Service URL or in a form whilst setting up your client.

service=WMS

request=GetCapabilities

version=

  • 1.0.0
  • 1.1.0
  • 1.1.1 (Current version required by OneGeology)
  • 1.3.0

Note that according to the WMS specifications the case of the parameter value is important, so it should be WMS and GetCapabilities above, and not, for example, something like Wms or wms, or GETCAPABILITIES or getcapabilities etc. In reality it usually doesn't make a difference, but if your request doesn't work you should check first you have the correct spelling.

To view the response (XML document) to a GetCapabilities request in a web browser, you must supply at least the ‘service’ and ‘request’ parameters. If you wish to see the response for a particular version you must also supply the ‘version’ parameter, otherwise you will get the response of the highest version supported by the server. Note if you request a version not supported by the WMS server, you will get the next lower service supported.

See appendices G for the version 1.1.1. and F for the version 1.3.0 WMS GetCapabilities XML response documents created by the BGS shapefile exemplar service.

Section last modified: 17 June 2013

Back | Next

OneGeology © 2014. This site is hosted by the British Geological Survey but responsibility for the content of the site lies with OneGeology not with the British Geological Survey. Questions, suggestions or comments regarding the contents of this site should be directed to the OneGeology administration.