Main Properties of Layers
Layer properties refer to all the elements that explain or provide information about the data being worked with. Most layers have the same general properties, but there are some specific ones depending on the data being used.
Below are the main properties in more detail:
Information
-
Category: The first field to fill in is the category. It is used to better organize layer data into thematic categories. If categories already exist, you can choose from the dropdown.
-
Name: This field is the only mandatory one and is used to assign an internal name to the layer, i.e., the name used within the geoportal administrator application.
-
Title: Unlike the previous name, here the title refers to the name of the layer that will be displayed in the geoportal for all users.
-
Description: An optional brief description of the data’s characteristics. The description will be shown in both the catalog view and the layer information panel. HTML text is accepted.
-
Keywords: Keywords that identify the layer. Users can search for the layer using these keywords and use them to navigate through the data.
-
Enable/Disable Layer: This option activates or deactivates the use of the layer according to administrators’ needs. If not active, the service is not enabled.
-
Geoportal Visibility: This option indicates whether we want the layer to be visible or not. Technically, it determines whether the layer is exposed via the Catalog API or not. In the case of Mapia Geoportal, it shows the layer in the catalog or not.
Information
We could have an active layer that is not visible. In this case, we could use the connection APIs offered by Mapia SERVER but not display it to the viewer users.
Permissions
- Anonymous Users Can View: Any user can view the layer.
- Authenticated Users Can View: Any authenticated user in Mapia SERVER can view the layer.
- Basic Permissions: In most layer permission options, there are two possibilities: allowing anonymous users to view the data or allowing authenticated users to view it, or both.
- Users: To grant individual user-level permissions such as viewing, updating, deleting layers, etc. To create a new user.
- Groups: Similar to the previous option, but to grant permissions to a group instead of individually to users. To create a group.
Metadata
Service metadata is data that explains characteristics of the data.
- Date: Date of data creation.
- Language: Language of the data.
- Category: Dataset category. It does not have to match the Geoportal’s catalog. These are more basic categories, for example: Communication, Hydrography, Vegetation, …
- Information: Relevant information about the service.
- Provider’s Name: Name of the data provider.
- Provider’s Website: Website of the data provider.
- Provider’s Email: Email of the data provider.
- Summary: Brief summary of the dataset.
- BBOX: The minimum 2D rectangle or area containing the spatial information. The data should be entered with EPSG4326 and the format Xmin, Ymin, Xmax, Ymax.
Legend
Field to define an HTML formatted legend that will be displayed in the layer’s information panel.
Information
We can incorporate the value of a layer field using the notation {field name}. We can use some JavaScript expressions within the brackets, for example: { variable ? ‘Value: ‘ + variable : ‘No value’}