Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Once the import script has been run on the server we are ready to create references in Earthlight. To create new reference for a layer please follow the steps below:

  1. Click here to select the repository.
  2. You can use this search box to quickly locate desired table.
  3. Highlight layer/s for which you want to create references.
  4. Select destination folder for references.
  5. Click Create layer reference to start the operation.

You can also reference spatial views and non-spatial tables which store Easting and Northing data.

Creating reference to Views and Non-spatial tables works in similar way as common table, however it required entering some additional information.

 

From Earthlight version 2014 R2 it’s possible to order tables by creation date (timestamp). However, only new layers imported by Earthlight or by one of Earthlight tools will contain creation date.

Views

  1. Choose views group from the Repository drop down menu.
  2. Choose a view that you want to reference.
  3. Select your reference location.
  4. Click Create layer reference button.

Now you need to set your reference settings.

  1. First, choose a primary key column for your view.
  2. Set view’s geometry column.
  3. Specify geometry type.
  4. Add all the tables that are referenced to your view. You can use search box to quickly locate desired table.

Please note

Selecting tables which are referenced to your view is required for creating database triggers on them and to allow Earthlight refreshing caches of the view. It is required for example when one of the view 'source' tables changes.

If you are not aware which tables are used in the view:

  • please ask your db administrator about this information,

or

  • select a table which is not a part of the view, but you know that it is regularly updated (every day for instance). In this case, referenced view caches will be updated so often as the selected table.


Non-Spatial Tables

In case of Non-spatial tables – select Primary key(1)Easting(2) & Northing(3) columns and set SRID(4).

Web Mapping Service

 

It is required to expose the Earthlight server to the Internet to be able to connect to a remote WMS server.

Here’s the example of usage for some free geology data from http://ogc.bgs.ac.uk/

In order to add a new reference to the WMS layer go to Administration > Create > From Existing Table.

Now you should choose the directory where a reference will be created(1) (this is mandatory to enable the Create web layer referencebutton). Next click the arrow on the Create web layer reference button and choose Create WMS reference(2) option from the drop-down list.

To reference the layer, you have to set all the WMS settings inside the displayed dialog.

  1. First you have to fill the Address field for the Web Map Service (we used http://ogc.bgs.ac.uk/cgi-bin/BGS_Bedrock_and_Superficial_Geology/wms).
  2. Choose the version of WMS server (most servers serve all the versions of WMS, so if you are not sure which one is good, you can tryv1.3.0).
  3. Click the Get capabilities button to get the layer names from the server.
  4. Choose the layer, you want to reference.
  5. Write layer name. It has to be at least 3 characters long and consist exclusively of letters, numbers, underscores, spaces and dashes.
  6. Set SRS (Spatial Reference System) to EPSG:27700.
  7. Choose the tile images format and click OK.

Now the layer is referenced and ready for use. You can add it to the map.

 

  • No labels