Web Map Service is a standard protocol for serving georeferenced map images over the Internet. A map server generates images from a GIS database and serves the map in a bitmap format (e.g., PNG, GIF, or JPEG), while vector data can be included as an addition. WMS can also be added from an external source to the map.
Web Map Service, just like the other web services, may be accessed through the Datasource Manager.
To add WMS into the Datasource Manager:
- Select the Datasource Manager from the Tools tab.
- Click Add WMS in the Source Browser.
- Write a WMS name and URL of the dataset.
Note: in the WMS URL delete a part from question mark to the end of the URL e.g.,
- Click Get Info button.
- Select one of available WMS versions (1.0.0, 1.1.1 or 1.3.0)
- Click Save and add a WMS to the map.
WMS is added to a map as shown below:
- Select Add Layer from the Layer tab or Map tab.
- Select Web Feature Service in the Source Browser.
- Select WMS from the Source Browser and select the WMS sublayer.
- If you have a basemap (Mapbox, Bing, OSM, etc.) on the map, adjust the projection to EPSG:900913.
- Click the Select button.
Add password protected WMS
It is possible to add password-protected WMS layers in GIS Cloud, but it has to be organized in a way the system can recognize it. Username and password have to be included in the WMS URL and saved in the GIS Cloud Source Browser.
- Open Map Editor and Source browser.
- Click add WMS.
- In the URL box add WMS URL together with username and password. The URL has to have a structure like this:
- “username” username of the user which has access to WMS
- “:” delimiter
- “password” password of the user which has access to WMS
- “@” delimiter
- “wms_url_example.com” URL of the WMS
- Example of the password-protected WMS: http://test:firstname.lastname@example.org/wms/toporama_en
- Click Get info button.
- Save the layer and add it to the map.
Apart from adding a WMS to your map, you can share your GIS Cloud map on a third party software as a Web Map Service (WMS).