WMS server
Dernière mise à jour
Dernière mise à jour
K2 Geospatial 2024
Web Map Service (WMS) is a standard proposed by the Open Geospatial Consortium that defines how client applications must request maps from a WMS compatible server. The protocol used is HTTP and the maps returned are typically images in popular formats (PNG, GIF, JPEG, etc.). WMS servers publish their capabilities in an XML document that specifies the types of requests supported as well as the metadata (list of layers, supported projections, etc.).
By configuring WMS data sources, you allow JMap to connect to and query WMS compatible servers (versions 1.0 to 1.3). You can then create raster layers based on these WMS data sources inside projects.
Once you have obtained the capabilities, you can define the parameters for the other types of requests in the WMS protocol. JMap Admin automatically suggests default queries that usually work very well. They are generated from the GetCapabilities request. If you wish to modify these default requests, you must select the Override default request option and enter new requests. For each type of request, you can also activate HTTP authentication and provide sign-on parameters.
Get server capabilities (GetCapabilities)
Enter the GetCapabilities URL that will return the WMS server’s capabilities.
The URL should look like this: http://www.server.com/wms?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities
Enable HTTP authentication
Enable this option if the WMS server controls access to the WMS service via HTTP authentication. In this case, enter the username and password that must be used.
Get map(GetMap)
This request is used to get a WMS server map.
Get feature info(GetFeatureInfo)
This request is used to get the attributes of a map element.