WMS

From Tygron Preview Support Wiki
Jump to navigation Jump to search

Template:Learned

What is a WMS

A Web Map Service, in short WMS, is a standard in where data is published on the Internet and can be viewed in a browser. This standard is defined by the OGC, the Open Geospatial Consortium. The data is accessible through an URL and works in any browser. A WMS layer generally exists of bitmap images of a map. The data is therefore (most of the time) an image of a map and does not contain the features and attributes. This image can be used for example as a reference layer. One of the advantages of a WMS is that the data is accessible on the internet, so you can always access it (if there is internet) and you don’t have to carry files with you anymore. Also sharing data is more easily, since you just have to provide the WMS URL, instead of the data file.

How to show data from a WMS in the Tygron Platform

The data from the WMS can be imported into the Tygron Platform as an Overlay. The WMS must conform to the following requirement before it can be loaded properly into the Tygron Platform:

  • The WMS must have PNG as output format.

To import the data from the WMS, hover over the overlays button and choose the add Image overlay.

Editor → Current Situation (Ribbon tab) → Overlays (Ribbon bar)

A new overlay (named Beeldlaag) is added. Click on the right side on the Configuration Wizard. See below for the steps to follow in the Configuration Wizard.

How to insert a WMS into the Tygron Platform:
  1. Add an Image Overlay from the Overlays menu
  2. Click on the right side on the Configuration Wizard button
  3. Select the option Import from a Web Image Service
  4. Click on Add a new Image Service
  5. Choose a name for the WMS
  6. Choose a Service Type
  7. Provide the URL of the WMS (the GetCapabilities part can be omitted)
  8. Choose the dataset (layer) you want to view
  9. Choose a name for the new Overlay
  10. Finish the wizard

How to use the Tygron Platform WMS in other software

Show WMS URL

Of every project in the Tygron Platform, the Overlays can be viewed by making use of the WMS URL. The data, along with the same legend and colors can then be viewed in for example a GIS. Also, the WMS supports GetFeatureInfo requests to get data of a particular coordinate of the map. To view data in other software, first the WMS URL needs to be obtained. This can be done by going to the Tools menu and hover over Web interface.

Editor → Tools (Ribbon tab) → API Overview (Ribbon bar) → Show WMS url (Dropdown)

You will be redirected to a webpage in a browser. Copy the URL of the webpage. This URL is the WMS URL and can be used in a GIS.

Notes

Notice that the URL contains a token. This token is unique for the (editor) session. Read more about tokens on this page.
Everytime you open a project in the editor or start a new session, a new token is generated. Therefore when you close the project the WMS URL which contains this token will no longer be valid (since the session does not exist anymore) and a new WMS URL needs to be obtained when editing or starting a new session of the same project. When the project is on Keep alive, the WMS URL will stay the same.

Read below for some examples of how to use the WMS in different GIS:

  • QGIS
  • ArcMap
  • ArcGIS Pro


WMS in QGIS

For the steps on how to use a WMS in QGIS, please see 'Loading a WMS Layer', which is part of the QGIS documentation.

https://docs.qgis.org/3.4/en/docs/training_manual/online_resources/wms.html?highlight=wms

The steps about the Coordinate Reference System may be skipped.
Also notice that you can select multiple layers to add at once to your QGIS Project.

WMS in ArcMap

For the steps on how to add the Tygron Platform WMS URL ArcMap, please see 'Adding WMS services', which is part of the ArcMap documentation,

http://desktop.arcgis.com/en/arcmap/10.3/map/web-maps-and-services/adding-wms-services.htm

Notice that you only have to add as WMS URL the beginning of the URL, excluding the token. The URL becomes then: "https://engine.tygron.com/web/wms"

Then, add a custom parameter with the name token and as value the actual value of the token.

Add the Tygron Platform WMS to ArcMap


WMS in ArcGIS Pro

For the steps on how to add the WMS URL to ArcGIS Pro, please see 'Add WMS services', which is part of the ArcGIS Pro documentation.

https://pro.arcgis.com/en/pro-app/help/data/services/add-wms-services.htm