# WMS and Web Tile Layers

### Legend

In the legend, all layers of the map are displayed.

**Visibility**

Check (or un-check) the box in front of the layer name to display the layer in the map.

**Order**

The order of the layers can be simply changed by "drag and drop".

**Context menu**

*Change parameter*

This function can be used to change parameters of GeoDin layers if [Parameterized query](/queries/parameterized-queries.md) have been used as the data basis for the layer. The changes are displayed accordingly in the map.

*Zoom to layer*

With this function the map is zoomed to the extent of the selected layer.

*Refresh*

Use this function to refresh linked data in the GIS window. A refresh can be necessary when new GeoDin locations have been added during the session or if you have changed shape-files or DXF-data using other tools.

*Remove layer*

This function removes the selected layer from the map.

*Assign to group*

Assign a layer to a specific group. All groups available in the map are shown. Change to the grouped layer view by clicking the tab \*\*at the bottom of the legend.

*Export*

This function allows you to export a layer in the formats SHP, GML, MIF, KML and JSON.

*Interpolation*

The function [Interpolation](/data-visualization/groundwater-visualizations.md) allows you to perform interpolaions on vector layers that contains point objects.

*Properties*

You can edit the properties of the selected layer using this function **Properties**. The properties that can be changed depend on the type of layer.

*Presentation options*

Vis the context mneu you can access **Presentation options** for the layer.

*Attach presentation to document source*

### Selection properties

**Select in**

Select from the different options: all layers, active layer, top layer.

The selection tool then operates only in the selected layers.

**Color**

Here, the color for outlining and filling the selected objects can be set.

**Show outline only**

Select this option to mark a selection only with a coloured outline. If this option is not selected, the selected objects are colored transparently in the color selected above. This makes objects easy to recognize, but sometimes hides objects in the background.

### Settings

**Description**

The tabs **Layer** and **Section** are available for both vector and raster layers. Here, you can find general information and make some basic settings for the visualisation. Depending on the map size and the performance of the computer hardware, the display settings can be optimized.

### Vector

**Vector dialog box**

The *Vector* dialog box is the layer property dialog box for the vector type layers. It consists of 6 up to 8 settings tabs (depending of the vector layer format):

1. *Layer tab*
2. *Section tab*
3. *Renderer tab*
4. *Line tab* - appears only if the layer supports line type shapes
5. *Area tab* - appears only if the layer supports polygon type shapes
6. *Marker tab* - appears only if the layer supports point or multipoint type shapes
7. *Label tab*
8. *Chart tab*

### pixel

The **Raster** dialog box is the layer property dialog box for the raster type layers (images, grids). It consists of 3 settings tabs :

1. *Layer tab*
2. *Section tab*
3. *Pixel tab* - appears if the layer was not recognized as a grid layer.
4. *Grid tab* - appears only when the layer was recognized as a grid layer.

### Creating a new map

A GeoDin Map is made up of several individual map themes. The combination of layers, their settings, the order in the map and the general map settings are all saved in a map: hence a map is a kind of container.

**Creating a new map using the Document management method**

1\. First of all the [Document management](/documents/managing-documents.md) is started.

2\. At this point it is advisable to create a folder hierachy to organize the documents using the **New folder** button. For instance this can be a folder for shape files, or another for layouts. The map document itself (created in the next step) can be in a folder, but it is often easier to have one or maps at the root level of the document management structure.

3\. Now create a new document (that is going to be the map) via the **New document** button.

4\. In the \<Add document> dialogue window select the radio button -Create document- and then click on the new file icon and choose "**Embedded GIS map"** from the list and confirm by clicking the blue tick icon. This is referred to as "Step 1" at the top of the \<Add document> window.

5\. You must then enter a file name for the map before proceeding by clicking the **Next** button. Note that by default maps are saved in the database but they can also be saved as discrete files.

6\. In this dialogue window ("Step 2") the available document descriptions in your GeoDin installation are shown in the top panel. The correct document type for a map is "(DOC) GeoDin map" which should be selected from the \<Chose document description type> panel. If it is not visible (i.e. not available for your GeoDin installation) you must first install it by clicking the **<**[Register document descriptions](/documents/document-organization.md)**>** button.

6a. This brings up a new dialogue window with two panels. The top panel shows the documents types available in your installation and the registered document descriptions for your database in the bottom panel. Install the correct document type so that it appears in the top panel and then register it for the database by clicking the **Register** button. You can now close the window.

7\. Once installed and registered select the document type "(DOC) GeoDin map" from the top panel of the \<Add document> window (i.e. "Step 2").

8\. Step 3 involves completing the description for the map document (content and comments). This data may also be entered later if required. Note that that the type of meta data that can be entered here depends on the document type selected. Be sure to have chosen "(DOC) GeoDin map" and not older document description types such as (EDC) or (ADC) etc. The newer DOC types are multilingual.

9\. Finally click the **OK** button to complete the creation of a GeoDin map. This is the basis on which further layers etc. can be added.

**Adding layers**

In a GeoDin Map you may display documents from the "Document management" (e.g. shapes, grid data) or GeoDin objects (e.g. boreholes and measurement points).

To add a new layer, simply drag & drop a node from the GeoDin Object Manager (GOM) into the map window. Layers are drawn in the order that they were added to the map i.e. the last layer added will be superimposed on all other layers. To change this drawing order select a layer with the mouse, press and hold whilst moving the layer up or down in the list.

**Deleting layers**\
The context menu for a layer has an option for deleting the layer.

### Add WMS layer

Use this button to add a WMS layer (Web Map Service) to your map. GeoDin automatically saves the necessary document files to the folder *Documents/Linked documents*.

***Warning:*** *This function requires the new international document object types (DOC) with GeoDin 8.1.*

Please make sure that you have installed this object type and registered it in the database.

Should this not be the case, please [Install](/installation-and-licensing/express-installation.md) on the GeoDin system page **and** [Register document descriptions](/documents/document-organization.md) them into the appropriate database before using this function.

**Server URL:**

Enter the URL ("Internet address") of the server on which the service is provided. Please note that the URL must not contain any configuration parameters, i.e. no information on e.g. format or measurements of the layer. If the desired URL contains a question mark and subsequent parameters, delete both from the line.

Right: http\://*[www.address.com](http://www.address.com)*/*geoservices xy*/wms

Wrong: http\://*[www.address.com](http://www.address.com)*/*geoservices xy*/wms?Service=WMS\&Version=xy

Select one of the displayed layers from the service offering.

**Format**

Enter the image format here.

**System:**

Select one of the coordinate systems provided by the WMS service by selecting the corresponding EPSG code.

Confirm with the button **Add layer**.

### Add WebTileLayer

Here you can add "Web Tile" layers or "Web Map Tile Service" layers (WMTS) .

Simply choose from the layers offered **Add layer**.

### Contour lines

The **"Contour lines"** method is available for layers of type *Grid* (\*.grd).

***Minimum:***

Enter the limit value(s) below which the values for the calculation of the contour lines are not to be taken into account.

***Distance:***

Enter the distance between the contour lines here.

**reset / get from grid**

Use this button to reset the entered values to automatically determined values that result from the existing data.

***Decimal places:***

Here you specify the number of decimal places for the displayed values.

*\[Save line values into attribute field]*

Check this box if the line values are to be written to the attribute table of the newly created layer.

***Field name:***

The column created in the attribute table (see above) receives the column name entered here.

Start the calculation with this button and get a first overview in the preview window.

Save the result in Shape format, (\*.shp), Geography Markup Language (\*.gml), MapInfo File (\*.mif), Keyhole Markup Language (\*.km) or JavaScript Object Notation (\*.json). After saving, you will be asked whether the saved file should be transferred to the map and displayed. If you want this, confirm with **\<Yes>.**


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.geodin.com/maps/wms-and-web-tile-layers.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
