Mash-ups using BGS data - notes for developers

BGS developers have provided example mash-ups demonstrating how our geology map services can be combined with data and applications in new and innovative ways. Notes on these examples are provided.

ArcGIS JavaScript Extension for the Google Maps API

This version of the Geology of Britain viewer has been developed using the ArcGIS JavaScript Extension for the Google Maps API.

This API allows you to extend the Google Maps API to add ArcGIS Server REST based Map Services to Google base data.

A tiled map service layer of BGS geology (bedrock and superficial deposits at 1:50 000 and 1:625 000) has been created in the Web Mercator coordinate system and exposed via REST. The endpoint for this service is: http://mapapps.bgs.ac.uk/ArcGIS/rest/services/GeologyOfBritain/GeologyViewer/
MapServer

In order to prevent users from obtaining geometries from the map service the 'query' and 'data' capabilities have been turned off. The basic identify functionality obtained by clicking on the map has been implemented via a .NET server object extension which returns attribution only.

To enhance the functionality of the site the Dojo JavaScript Toolkit has been used. This Toolkit includes widgets for the slider and pop-up window used in this application.

ArcGIS API for JavaScript

This version of the Geology of Britain viewer has been developed using the ArcGIS API for JavaScript. This API allows developers to easily embed maps in Web pages and is hosted by ESRI on ArcGIS Online. ArcGIS Online also has a number of base maps including the World Street Map and World Imagery used in this application. The ArcGIS API for JavaScript also includes the Dojo JavaScript Toolkit which is designed to ease the rapid development of cross-platform JavaScript applications and has been used widely in the Geology of Britain viewer.

A tiled map service layer of BGS geology (bedrock and superficial deposits at 1:50 000 and 1:625 000) has been created in the Web Mercator coordinate system and exposed via REST. The endpoint for this service is: http://mapapps.bgs.ac.uk/ArcGIS/rest/services/GeologyOfBritain/GeologyViewer/
MapServer

In order to prevent users from obtaining geometries from the map service the 'query' and 'data' capabilities have been turned off. The basic identify functionality obtained by clicking on the map has been implemented via a .NET server object extension which returns attribution only.