This page is under construction. Everything in this page is subject to change without notice.

GPlates Web Services Examples

This page contains examples of using GPlates Web Services under various circumstances.


Step 1: Click menu item "Layer-->Add Layer-->Add Vector Layer"

QGIS Examples #1

Step 2: In the popup dialog, choose "Protocol" as "Source Type" and type in the URI, for example

QGIS Examples #2

Step 3: Click "Open" button and the reconstructed coastlines will show in QGIS.

QGIS Examples #3

JavaScript CORS

    var url = '';
    var method = "GET"      
    var xhr = new XMLHttpRequest();
    if("withCredentials" in xhr){, url, true);
    }else if(typeof XDomainRequest != "undefined"){
        xhr = new XDomainRequest();, url);
        xhr = null;
    if (!xhr) {
      throw new Error('Does your web browser support CORS?');
    xhr.onload = function() {
        var text = xhr.responseText;
    xhr.onerror = function() {
        alert('something is wrong!');



    string sURL;
    sURL = "";

    WebRequest wrGETURL;
    wrGETURL = WebRequest.Create(sURL);
    Stream objStream;
    objStream = wrGETURL.GetResponse().GetResponseStream();

    StreamReader objReader = new StreamReader(objStream);


curl > data.json


wget "" -O data.json