Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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


 

Info

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.

...

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

Web Mapping Service


 

Info

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

 

The WMS is consumed by the application server and not client (user) machine. In other words, in order for the WMS to work, it is necessary that the domain used by the WMS is accessible from the application server.


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

...

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


Web Map Tile Service

Info

It is required for Earthlight user to have access to the Internet to be able to connect to a remote WMTS server.

Image Added

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

  1. First you have to fill the Address field for the Web Map Tile Service (we used http://a.tile.openstreetmap.org/{TileMatrix}/{TileCol}/{TileRow}.png).
  2. Click the Get capabilities button to get the layer names from the server.
  3. Choose the layer, you want to reference.
  4. Write layer name. It has to be at least 3 characters long and consist exclusively of letters, numbers, underscores, spaces and dashes.
  5. Set SRS (Spatial Reference System) to desired EPSG.
  6. If you would like to limit maximum available zoom level for referenced layer, you can change this setting. 
  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.

Image Added


Web Feature Service


You can also add a WFS layer reference in the selected directory by choosing the Create WFS layer reference from the dropdown menu. As is the case with all previously described service references, the application environment needs to be exposed to the service domain for the reference to be created.


Image Added


Selecting this option will display the Reference WFS window consisting of 6 elements:


Image Added


1. Address - here you can provide the service URL and use the Fetch button to send the GetCapabilities request and acquire the service content.

2. Version - here you can set the service version

3. Layers - the service content will be displayed here after using the Fetch button from section 1. You can select multiple tables to be downloaded from the service as well as define the tables and layer references names.

4. Refresh job - in this dropdown, you can select the previously configured Scheduler job which will periodically refresh the WFS table.

5. Overwrite tables - check this option if you would like to overwrite the preexisting tables in your database.

6. This section displays the directory in your repository where the WFS layer reference will be created.


After filling in all the necessary information simply click Reference and the WFS layer will be created in your repository along with the database table.