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 > Using Gaia (v3.4)

1.4.2 Using Gaia (v3.4)

Gaia: http://www.thecarbonproject.com/gaia.php

Gaia is a free desktop client provided by ‘The Carbon Project’; based on the ‘CarbonTools PRO’ open-geospatial development tool-kit, and can access an array of geospatial sources such as the Open Geospatial Consortium (OGC) Web Mapping Service (WMS), Web Map Tile Service (WMTS), Web Coverage Service (WCS), and Web Feature Service (WFS). We note that the latest version is now 3.4.1 which adds support for WFS-T; but everything in relation to WMS mentioned below still stands.

Gaia 3.4 fully supports all WMS 1.1.1 requests and, GetCapabilities and GetMap requests for WMS 1.3.0. It provides partial support for version 1.3.0 GetFeatureInfo requests.

Gaia is available both for Windows and Linux (using mono); here we describe using the Windows version.

To add a WMS to Gaia, use the Tools > Add Layer menu option

Default view of Gaia 3.4, showing menu options to add WMS services

Adding a new WMS service to the list of available services

Select the layer icon (red plus sign)

Give the service a name, and add the service URL (with or without request parameters), select the service type (wms), and version (by default Gaia selects version 1.1.1), and click OK.

This adds the service to the list of available services but doesn’t add it to your map. To add map layers from the service you need to continue.

The service layers will now be shown in the middle window, and if the service is not scale layered, a map will be shown in the preview window. Highlighting an individual layer from the service (click on layer name) will give a preview of that layer, to help you determine whether the WMS provides the information you require. You may further investigate the layer metadata, by clicking on the ‘Open Capabilities Analyzer’ button. When you are happy you have the correct map layer, click the ‘Add Layer’ button.

Using the Capabilities Analyzer to review WMS metadata for a map layer

Note, you can force a change in the default behaviour of the service using the Parameters form options, for example, here we are requesting the map to be served as a 24-bit png.

Like the OneGeology Portal, Gaia supports all standard GIS tools (Zoom in, Zoom out, Pan, Move back and forward through previous map extents, Retrieve Feature Information).

GetFeatureInfo request response in Gaia

Double-clicking on the layer in the left hand menu, will bring up the map layer properties window, which allows you to change the layer opacity (transparency), and other parameters as required. It will also reveal the GetMap request (query) that is being used to display that map layer, at that time. You may copy and paste that request into any browser to show that map layer.

E.g.

A GetMap request for a portion of the BGS bedrock lithostratigraphical data map layer. You can cut and paste this URL into any web browser and get a png format map image.

http://ogc.bgs.ac.uk/cgi-bin/BGS_Bedrock_and_Superficial_Geology/ows?REQUEST
=GetMap&SERVICE=WMS&VERSION=1.3.0&LAYERS=GBR_BGS_625k_BLS&STYLES=default&FORMAT
=image/png;%20mode=24bit&BGCOLOR=0xFFFFFF&TRANSPARENT=TRUE&CRS=EPSG:4326&BBOX
=54.0957778123079,-3.54949452254466,54.9267913615873,-2.51587849637481&WIDTH
=602&HEIGHT=484&

The above parameters are specific to the version of the WMS (in this example ‘VERSION=1.3.0’), changing the version number alone, to review how the data might display for that version, will result in an error.

Note, if you are using Gaia at work (behind a corporate firewall) or otherwise need to go through a proxy to access the web, AND don’t get any map service showing, you should check that Gaia has picked up your proxy settings; see Tools > Configuration > Proxy Settings.

Section last modified: 18 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.