# WMS/WMTS Service

Web Map Service (WMS) and Web Map Tile Service (WMTS) are two standards defined by the [Open Geospatial Consortium (OGC)](http://www.opengeospatial.org/). They specify how applications should formulate requests to obtain maps from compatible servers.

WMS servers use the HTTP protocol to respond to requests by returning maps as raster images in common formats such as PNG, JPEG, or GIF. Their capabilities are described in an XML document that indicates the types of supported requests, available layers, supported projections, and other metadata.

WMTS servers provide maps as predefined tiles, enabling faster and more efficient display, particularly for large-scale navigation.

JMap Cloud can query WMS and WMTS standards-compliant servers to create spatial data sources, thereby integrating external map layers into your projects.

{% hint style="info" %}
WMS and WMTS services must be public, without authentication.
{% endhint %}

## Data Source Settings

The parameters to complete are as follows:

<table data-header-hidden><thead><tr><th width="169"></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.</td></tr><tr><td>GetCapabilities URL</td><td><p>Enter the GetCapabilities URL that will return the capabilities of the WMS or WMTS server. The URL must use the <code>https://</code> protocol; otherwise, an error message is displayed. The URL should resemble the following: <br><strong>For a WMS-compatible server:</strong></p><p> <code>https://www.server.com/wms?SERVICE=WMS&#x26;VERSION=1.3.0&#x26;REQUEST=GetCapabilities</code> <br><strong>For a WMTS-compatible server:</strong><br><code>https://www.server.com/wmts?SERVICE=WMTS&#x26;VERSION=1.0.0&#x26;REQUEST=GetCapabilities</code></p></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>Add tags that can be used to sort or filter spatial data sources. You can create them by typing text in the field. Once created, they are available for use with all resources.</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/wms-wmts-service.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.
