# Displaying and Editing Data Source Information

## Displaying Data Source Information

To view the information for a data source (DS), open the menu <img src="https://content.gitbook.com/content/9n1KCuTyIKwSpZcPcC6l/blobs/8m4xvrMS418SV0cyQWNm/menu.png" alt="" data-size="line"> associated with the desired DS and select **View Information**. The interface consists of two tabs: **Information** and **Attributes**.

### **Information** Tab

This tab displays general details about the data source:

* **Name** and **description**
* **References**: projects, layers, and/or tables using this data source
* Associated **tags**

For **spatial DS**, an interactive map is displayed:

* A dotted outline indicates the geographic extent of the DS
* The base map is provided by OpenStreetMap
* Digital Elevation Models (DEM) from GeoTIFF files are shown in grayscale

Additional technical information is also displayed:

* **DS identifier** (click <img src="https://content.gitbook.com/content/9n1KCuTyIKwSpZcPcC6l/blobs/ECLAsMTIJdZGsffjaDMU/copy.png" alt="" data-size="line"> to copy to clipboard)
* **Unique identifier** within JMap Cloud
* **Coordinate Reference System (CRS)**
* **Total number of elements** in the DS

For **tabular DS**, a navigable data table is shown, along with:

* The number of loaded rows
* The **total number of records** in the table

### **Attributes** Tab

This tab lists all **attributes** (or fields) of the DS. For each attribute, three sections are available:

* **Settings**: title, data type, and indexing status for quick search
* **Statistics**: value statistics (depending on the attribute type)
* **Value Domain**: displays the current domain (if any), or allows you to create one

#### **Value Domain**

A **value domain** defines the valid set (finite or infinite) of values that an attribute can take—typically for text or numeric fields.

**To create a value domain:**

1. Click **Create Value Domain**.\
   The **Value** and **Label** columns appear.\
   All values present in the data are automatically added.
2. Click **+** to add a row.
3. Enter the value and its label.
4. Click <img src="https://3291879974-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9n1KCuTyIKwSpZcPcC6l%2Fuploads%2FFxuuVujGmQyQRWNzsgEM%2Fsave-edit.png?alt=media&#x26;token=e05650c6-919c-4ac6-86a7-cd4d737deb9e" alt="" data-size="line"> to save or <img src="https://3291879974-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9n1KCuTyIKwSpZcPcC6l%2Fuploads%2FZfKf2fA1s5lW3BYCn7TY%2Fdiscard-edit.png?alt=media&#x26;token=9d0a042f-6283-4bb7-ac2b-fe7ed91f9497" alt="" data-size="line"> to cancel.
5. Repeat to add additional values.

You can:

* Remove a value that is not present in the data by clicking the ![](https://3291879974-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9n1KCuTyIKwSpZcPcC6l%2Fuploads%2FxuLOiAXOf7JIQIanxqwe%2Fstudio-style-delete.png?alt=media\&token=c984e6b1-4f26-459e-baaf-1eb3365ee514) icon
* Delete the entire domain by clicking **Delete Value Domain**

## Editing Parameter Values

**You can modify some parameters:**

1. If you have edit permissions for the DS, when you hover over the Description, Labels, and Unique identifier (SDS) parameters, the icon <img src="https://content.gitbook.com/content/9n1KCuTyIKwSpZcPcC6l/blobs/YYon4GuBvr8h0OI3y5lw/edit.png" alt="" data-size="line"> appears, allowing you to edit the parameter.
2. Also, if you have edit permissions, you can edit attribute/field titles, index them (by checking the box Indexed), and create, modify, or delete a value domain for text or quantitative attributes.
3. Press <img src="https://3291879974-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9n1KCuTyIKwSpZcPcC6l%2Fuploads%2FpmSC5332RbTimVEfiE3G%2Fsave-edit.png?alt=media&#x26;token=0ce6d4ae-5b78-4230-92f4-2cc4a6aeb1a5" alt="" data-size="line"> or <img src="https://3291879974-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9n1KCuTyIKwSpZcPcC6l%2Fuploads%2FZfKf2fA1s5lW3BYCn7TY%2Fdiscard-edit.png?alt=media&#x26;token=9d0a042f-6283-4bb7-ac2b-fe7ed91f9497" alt="" data-size="line"> to save or discard changes.

{% hint style="info" %}
Only indexed attributes can be used in simple searches (searching for elements in a project's layers based on attribute values) in the NG application.
{% endhint %}

## Editing Parameters

If you have editing permissions on the DS, you can modify certain parameters directly in the interface:

* Hovering over the **Description**, **Tags**, or **Unique Identifier** (for spatial DS) displays the <img src="https://content.gitbook.com/content/9n1KCuTyIKwSpZcPcC6l/blobs/YYon4GuBvr8h0OI3y5lw/edit.png" alt="" data-size="line"> icon, allowing you to make edits
* You can also:
  * Edit **attribute titles**
  * Toggle **indexing**
  * **Create, modify, or delete** value domains (for text or numeric attributes)

Click <img src="https://3291879974-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9n1KCuTyIKwSpZcPcC6l%2Fuploads%2FFxuuVujGmQyQRWNzsgEM%2Fsave-edit.png?alt=media&#x26;token=e05650c6-919c-4ac6-86a7-cd4d737deb9e" alt="" data-size="line"> to save or <img src="https://3291879974-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9n1KCuTyIKwSpZcPcC6l%2Fuploads%2FZfKf2fA1s5lW3BYCn7TY%2Fdiscard-edit.png?alt=media&#x26;token=9d0a042f-6283-4bb7-ac2b-fe7ed91f9497" alt="" data-size="line"> to cancel your changes.

{% hint style="info" %}
Only **indexed attributes** can be used in **simple searches** within the JMap NG mapping application (i.e., searching for features in layers based on attribute values).
{% endhint %}
