Layers

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

Layers

A project is composed of an ordered list of layers. Layers are used to display data extracted from spatial data sources. Each layer is related to a specific spatial data source. Vector layers are related to vector data sources and display vector data while raster layers are related to raster data sources. The layer configuration determines the appearance of the data (style of the layer), the visibility thresholds, what information is associated with the spatial data (attributes), etc. Each layer has its own configuration parameters for labelling, reports, thematics, etc.

Layers are created in the project they belong to. Specific permissions can be configured for each layer. Thus, some layers can be accessed only by a subset of users authorized to open the project.

The layers of a project can be organized into a logical tree-like structure or hierarchy. This feature is useful to better organize information when working with projects that have a high number of layers. In client applications, users are able to control the visibility of the layers belonging to the same group in one click. Refer to the section titled Organizing Layers for more information on this subject.

Layers can be copied from one project to another or even shared between various projects located on the same JMap Server or on separate JMap Servers. Refer to the section titled Sharing Layers for more information on this topic.

The layers of a project are displayed in the Layers section, which may be accessed from the JMap Admin project configuration interface. In the List tab, the table shows basic information about each layer of the project. When you click on the name of a layer, a details section displays. The Hierarchy tab displays the groups and subgroups with the layers that compose them. The tasks you can perform from this tab are detailed in the Organizing Layers section.

In the List tab of the Layers section of a project, you can perform the tasks described in the table. For some tasks, you must select more than one layer.

Layers

Add - Create

Initiates the creation of a new layer. Refer to Creating Layers.

Add - Clone/Reference

Allows you to duplicate or reference a layer from another project located on the same server or on a different JMap Server. Refer to Sharing Layers.

Add - Import...

Allows you to import layers one by one from a project exported from another JMap server. Refer to Importing layers.

Permissions

Allows you to configure permissions for the selected layers. Refer to Layer Permissions.

Update data sources

Updates the spatial data sources associated with the selected layers. Refer to Spatial Data Sources.

Update caches

Launches the preparation of the vector data cache for the selected layers. Refer to Creating Layers.

Update - Bulk edit...

Allows you to edit certain layer parameters in batches. The Bulk editing a layer set section provides details about this topic.

Delete

Deletes the selected layers.

This button allows you to access the Permissions section, where you can configure the permissions of the selected layers. See Layer Permissions for more details.

Importing layers

You can add a layer to a project by importing it from a project that has been exported from another JMap server. The Exporting and Importing section provides details on exporting and importing a JMap server's resources. To import a layer in a project, you must also create a data source in JMap Server containing the data of the imported layer.

When you select Add / Import... the Importation wizard will guide you through the process to import one or more layers from the project where they are found.

1.To start the process, select the Importation file. Click on Browse to access the File browser.

2.Select the .properties file that contains the project whose layers you wish to import.

3.Click on Next.

4.Select the Project that contains the layer you wish to import.

5.Select the Layers to import.

6.Click on Next.

7.If the project in which you are importing the layer contains a layer with the same name as the one you are importing, select an option to resolve the conflict between these layers: Create a new layer with a different name, Replace the existing layer or Use existing layer.

8.Click on Next.

9.If the JMap Server in which you are importing the layer contains a spatial data source with the same name as the data source of the layer you are importing, select an option to resolve the conflict between these data sources: Create a new data source with a different name, Replace the existing data source or Use existing data source.

10.Click on Next.

11.A summary lists the number of imported resources for the project: layers, databases, remote connections, spatial data sources, style templates, and metadata templates.

12.Press Import. The layer is added to the project and a new spatial data source is created in JMap Server.

Bulk editing a layer set

You can edit different settings for a set of layers. You must select the layers to modify in the List tab of the Layers section of the project. Afterwards, press the Update button, and click on the Bulk edit... option. The Bulk edit interface will open.

Update - Bulk edit...

Change 'Antialiasing'

Check if you want to change this setting. Check New Value to enable the antialiasing feature. Uncheck New Value to disable the antialiasing feature. The Style section provides details on this parameter.

Change 'Minimum scale'

Check to change the minimum scale for displaying layers. Check Infinity or 1: and in this case, indicate the scale. The General Settings section provides details on this topic.

Change 'Maximum scale'

Check to change the maximum scale for displaying layers. Check Zero or 1: and in this case, indicate the scale. The General Settings section provides details on this topic.

Change 'Request mode'

Check to change the data request mode. Check the option of your choice. The Creating Layers section provides details on this topic.

Change 'Description'

You can write a new description for the layers.