<%@ page import="au.gov.ga.imf.common.Constants"%> <%@ page import="au.gov.ga.oemd.framework.context.SystemContext" %> <% String amaWmsUrl = SystemContext.getInstance().getConfigProperty(Constants.AMA_WMS_URL); %> For Developers - Mapping - Australian Mines Atlas

For Developers

Using Australian Mines Atlas Web Services

The Australian Mines Atlas mapping application makes use of web services to deliver data over the internet. The protocols are defined by the Open Geospatial Consortium (OGC). Those used by the Atlas are the Web Map Service (WMS) and the Web Feature Service (WFS).

In November 2009, Geoscience Australia made these services publically known. The aim is to give programmers from the public the ability to use dynamic data released under the Creative Commons Attribution 3.0 Australia Licence in ways that they can incorporate into their own applications.

The GetCapabilities requests for each service are as follows:

The following is a sample request map string for the Australian Mines Atlas. You can copy and paste the following URL into a browser address box to test.

http://www.ga.gov.au/cgi-bin/mapserv?map=/nas/web/ops/prod/apps/mapserver/ama/wms_map/ama.map

Disclaimer: These services are intended for experimentation only and are not designed for production systems.

Open Layers

There are a number of ways by which you can use WMS and WFS in your own mapping applications. One of the easiest to use and which can incorporate layers from a multitude of data sources, is by using the OpenLayers application programming interface (API). A simple example using OpenLayers is as follows.

Sample code:

If you have any questions on how to use the code please contact nationalminesatlas@ga.gov.au