# Custom Spatial Data Sources

You can create a custom spatial data source directly in JMap Cloud Portal, without a file and without using the API. This is useful for work groups to enable field data collection, for example.

In the **Data Sources** tab of the Data Sources section, open the **Create Data Source** menu and select **Custom Spatial Data Source**.

The window that opens allows you to configure the DS parameters.

When you click **Create**, the empty spatial DS is created and displayed in the data sources table.

## Data Source Settings

The following are the parameters for a custom DS:

<table data-header-hidden><thead><tr><th width="168"></th><th></th></tr></thead><tbody><tr><td>Name </td><td>Give a name to the spatial data source. There are no naming restrictions for resources (DS, projects, map layers) in JMap Cloud.</td></tr><tr><td>CRS</td><td>Coordinate Reference System. Select the data's projection system.</td></tr><tr><td>Attributes</td><td>Click <strong>+</strong> to add attributes to the DS. <br>Give the attribute a name. Select the attribute type. Check the box if the attribute should be indexed. <br>During DS creation, you can delete attributes using the delete icon.<br>Attributes must be indexed to be used in simple searches in JMap NG.<br>When the data source data is edited, indexes are updated automatically. When the data source is deleted, the indexes are deleted.</td></tr><tr><td>Link Attribute</td><td>Optional<br>Select the attribute used to link the source's elements to documents or <a href="/pages/WWwDeCdThcthSzXHVmhL">attachments</a>, or to establish other types of links. It should generally be unique and non-null. <br><strong>Note:</strong> If the linking attribute is modified after attachments have been added, those attachments will be deleted.</td></tr><tr><td>Description</td><td>Optional<br>You can add a description of the data source.</td></tr><tr><td>Tags</td><td>Optional<br>You can add tags that can be used to sort or filter DS. Tags are available for use with all resources (DS, projects, layers).</td></tr><tr><td>Share with My Organization</td><td>Optional<br>Check this option to automatically share your data source with organization members. Members will have <strong>View</strong> and <strong>Extract Data</strong> permissions. You can modify these in the Data Source <a href="/pages/HKcddfpuASlPKukD8et5">Permissions</a> section.</td></tr></tbody></table>


---

# 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.jmapcloud.io/en/jmap-cloud-portal/user-guide-for-jmap-cloud-portal/integrating-data-data-sources/creating-data-sources/custom-spatial-data-sources.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.
