WMS: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
 
(43 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{being updated}}
[[File:Show_WMS.JPG|thumb|400px|right|Accessing the WMS Endpoint]]
{{learned|what a WMS is|how to insert a WMS into the {{software}}|how to obtain and use the WMS URL to view data in other software}}
A Web Map Service, in short WMS, is an [https://www.ogc.org/ OGC] standard which publishes geospatial image data. A WMS often serves its data in multiple layers. A WMS layer generally exists of images of a map and does not serve features and attributes directly. One of the advantages of a WMS is that the data is accessible on the internet and that the images are always tied to a geographical location.


==What is a WMS==
The data from the WMS can also be [[How to add a WMS as an WMS Overlay|imported into the {{software}}]] as a [[WMS Overlay]].
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 {{software}}==
==Tygron Platform as a WMS to view Overlays in other software==
The WMS can be loaded by hovering over the overlays button and choose the add Image overlay.
{{Editor location|Overlays}}
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.


{{editor steps|title=insert a WMS into the {{software}}|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}}
The {{software}} can also act as a WMS to serve [[Overlay|Overlays]] of a running project. The data, along with the same legend and colors can then be viewed in other software, such as a GIS.
 
==How to use the {{software}} WMS URL in other software==
[[File:Show_WMS.JPG|thumb|400px|right|Show WMS URL]]
 
Of every project in the {{software}}, 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.
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.
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 location|Web interface}}
{{Editor location|WMS}}
Then choose for Show WMS URL.
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.
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 [[Web_Interface#Authentication|this page]].<br>
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. 
<br>
<br>
===WMS in QGIS===
For the steps on how to use a WMS in QGIS, please read the documentation on QGIS:
<br>
https://docs.qgis.org/3.4/en/docs/training_manual/online_resources/wms.html?highlight=wms
<br>
The steps about the Coordinate Reference System may be skipped.
<br>
Also notice that you can select multiple layers to add at once to your QGIS Project.
<gallery>
File:Add_wms.JPG| Add the name and WMS URL
File:Add_layer_wms.JPG| Select the layers you want to add to your QGIS Project
File:Buurten_wms.JPG|A {{software}} Overlay added to QGIS
</gallery>
===WMS in ArcMap===
For the steps on how to add the {{software}} WMS URL to ArcMap, see the link below:
<br>
http://desktop.arcgis.com/en/arcmap/10.3/map/web-maps-and-services/adding-wms-services.htm


Notice that you have to add as WMS URL only the beginning of the URL: https://engine.tygron.com/web/wms?
===Project Background Layers===
Add then a custom parameter with the name ''token'' and as value the actual token (see the image below).
The following background layers, not based on an Overlay, are also supported:
[[File:Wms_arcMap.png|thumb|500px|left|Add the {{software}} WMS to ArcMap]]
* '''SATELLITE'''
* '''TOPOGRAPHIC'''
* '''GRAY'''
These can be found at the bottom of the defined layers on the WMS capabilities page.


<br clear=all>
{{Article end
|notes=
*Notice that the URL contains a token. This token is unique for the (editor) session. Read more about tokens on [[Web_Interface#Authentication|this page]].<br>
:Every time 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. To set the project on Keep alive, go to the File tab in the Editor and check the box Keep editor session alive. Save the project. The project is then active and can be found in the Join menu.
|howtos=
Read the following pages for more information on how to add your project's WMS in different GIS:
* [[How to add a WMS as an WMS Overlay]]
* [[How to add your project%27s WMS in QGIS]]
* [[How to add your project%27s WMS in ArcMap]]
* [[How to add your project%27s WMS in ArcGIS Pro]]
* [[How to create a WMS of a GeoShare Viewer]]
* [[How to select a Web Map Service for a WMS Overlay]]
* [[How to use a WMS to estimate foliage (Heat Overlay)]]
* [[How to show Overlays in Power BI]]
|seealso=
* [[WMS Overlay]]
* [[Project Sources]]
}}


===WMS in ArcGIS Pro===
{{Template:GeoDataOverview}}
For the steps on how to add the WMS URL to ArcGIS Pro, read the documentation below:
[[Category:WMS]]
<br>
https://pro.arcgis.com/en/pro-app/help/data/services/add-wms-services.htm

Latest revision as of 15:13, 13 December 2023

Accessing the WMS Endpoint

A Web Map Service, in short WMS, is an OGC standard which publishes geospatial image data. A WMS often serves its data in multiple layers. A WMS layer generally exists of images of a map and does not serve features and attributes directly. One of the advantages of a WMS is that the data is accessible on the internet and that the images are always tied to a geographical location.

The data from the WMS can also be imported into the Tygron Platform as a WMS Overlay.

Tygron Platform as a WMS to view Overlays in other software

The Tygron Platform can also act as a WMS to serve Overlays of a running project. The data, along with the same legend and colors can then be viewed in other software, such as 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.

Project Background Layers

The following background layers, not based on an Overlay, are also supported:

  • SATELLITE
  • TOPOGRAPHIC
  • GRAY

These can be found at the bottom of the defined layers on the WMS capabilities page.

Notes

  • Notice that the URL contains a token. This token is unique for the (editor) session. Read more about tokens on this page.
Every time 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. To set the project on Keep alive, go to the File tab in the Editor and check the box Keep editor session alive. Save the project. The project is then active and can be found in the Join menu.

How-to's

Read the following pages for more information on how to add your project's WMS in different GIS:

See also