WMS: Difference between revisions
No edit summary |
|||
Line 6: | Line 6: | ||
==How to show data from a WMS in the {{software}}== | ==How to show data from a WMS in the {{software}}== | ||
The WMS can be loaded | The data from the WMS can be imported into the {{software}} as an [[Overlay]]. | ||
The WMS must conform to the following requirement before it can be loaded properly into the {{software}}: | |||
* 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 location|Overlays}} | {{Editor location|Overlays}} | ||
A new overlay (named Beeldlaag) is added. Click on the right side on the Configuration Wizard. | A new overlay (named Beeldlaag) is added. Click on the right side on the Configuration Wizard. |
Revision as of 12:24, 18 November 2019
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.
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.
- Add an Image Overlay from the Overlays menu
- Click on the right side on the Configuration Wizard button
- Select the option Import from a Web Image Service
- Click on Add a new Image Service
- Choose a name for the WMS
- Choose a Service Type
- Provide the URL of the WMS (the GetCapabilities part can be omitted)
- Choose the dataset (layer) you want to view
- Choose a name for the new Overlay
- Finish the wizard
How to use the Tygron Platform WMS in other software
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.
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. Read below for some examples of how to use the WMS in different GIS:
- QGIS
- ArcMap
- ArcGIS Pro
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.
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.
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