Difference between revisions of "WMS"

From OCAD 12 Wiki - English
Jump to: navigation, search
(WMS Layer)
 
(37 intermediate revisions by 5 users not shown)
Line 1: Line 1:
[[File:Hint.jpg]] First choose '''Scale and Coordinate System''' from the '''Map''' menu to set the map scale.
+
[[File:WMSTitle.PNG]]
  
Choose '''WMS - Web Map Service''' from '''Background Map''' menu.
+
A Web Map Service (WMS) is a standard protocol for serving georeferenced map images over the Internet. The images are generated by a map server using data from a GIS database. (''taken from the '''[http://en.wikipedia.org/wiki/Web_Map_Service Wikipedia Article]'''.'')
  
[[File:WMS1.png]]
+
[[File:Hint.jpg]] WMS requires a georeferenced map. Choose the '''[[Create_a_New_Map#Set_Scale_and_Coordinate_System|Scale and Coordinate System]]''' command from the '''Map''' menu to set the map scale and a coordinate system. Real world coordinates do not have to be necessarily defined. They can be left at (0/0) for example.
+
'''Add''' a WMS Server and click '''Connect'''.  
+
  
: Choose '''Edit''' to edit the WMS server properties:
+
To set up a map from a WMS server choose the '''WMS - Web Map Service''' command from the '''[[Background Map]]''' menu. The '''WMS - Web Map Service''' dialog appears.
:: [[File:EditWMSServerProperties.png]]
+
  
Choose a WMS Layer from the list and '''Add Selected Layer as WMS Layer (online)''' or '''Add Selected Layer as background maps (offline)'''.
+
[[File:WmsDialog1.png]]
  
[[File:WMS2.png]]
+
== WMS Server ==
  
'''Close''' the dialog box. You can manage the view by choosing '''Manage''' from the '''Background Map''' menu.
+
The WMS servers are listed in the upper box of the '''WMS - Web Map Service''' dialog.
  
[[File:WMS3.png]]
+
=== Add a WMS Server ===
  
One possibility to display the map:
+
# Click the '''Add''' button.
 +
# The '''Add WMS Server''' dialog appears.
 +
# Enter the '''Name''' of the server, the '''URL''', the '''Version''' and, if required, a '''Login''' with '''Password''', the '''Token Server URL''' and a '''Key'''.
 +
#: [[File:AddWMSServer.PNG]]
 +
# Click the '''OK''' button when finished.
 +
# The WMS server appears in the WMS server box.
  
[[File:WMS4.png]]
+
=== Connect to a WMS Server ===
 +
 
 +
Select a WMS server from the list and click '''Connect'''. If the connection was successful, OCAD gets a list from the server with the available layers. These layers are listed in the WMS layer table of the '''WMS - Web Map Service''' dialog. Read the '''[[WMS#WMS_Layer|WMS Layer]]''' article to learn how to use layers as '''[[Background Map|Background Maps]]'''.
 +
 
 +
:[[File:Hint.jpg]] Internet connection via proxy server is supported since OCAD 12.1.2.
 +
 
 +
: [[File:WMSDialog2.PNG]]
 +
 
 +
=== Edit WMS Server Properties ===
 +
 
 +
Select a WMS server and click the '''Edit''' button to edit its properties. The '''Edit WMS Server Properties''' dialog appears which is equal to the '''[[WMS#Add a WMS Server|Add WMS Server]]''' dialog.
 +
: [[File:EditWMSServerProperties.PNG]]
 +
 
 +
=== Remove a WMS Server ===
 +
 
 +
Click the '''Remove''' button to remove the selected WMS server from the list.
 +
== WMS Layer ==
 +
After connecting to a WMS server the available WMS layers are listed in the WMS layer box.
 +
: [[File:WMSDialog3.PNG]]
 +
 
 +
# Select a WMS layer in the list and choose an '''Image format''' from dropdown list (those formats are provided by the WMS server).
 +
# Choose an option how to add the selected layers:
 +
#* '''Add Selected Layers as WMS Layers to Background Maps (Online)'''
 +
#:: [[File:WmsAddLayerOnline.png]]
 +
#:: This is an online '''[[Background Map]]''' . It is updated by the WMS Server by each change of the map view. This can take a moment. Choose the ''online'' option only if you are using a fast WMS server and work woth high speed internet connection. As an alternative, you can add the layer as an offline background map.
 +
#* '''Add current view of selected layers to background maps (Offline)'''
 +
#:: [[File:WmsAddCurrentViewOffline.png]] <br>
 +
#::* Define the '''Offline folder'''. The current map folder is set as default.
 +
#:: With this offline option an image of the chosen WMS layer of the current view is downloaded from the WMS server and added as a custom background map to the map. It does not get updated when changing the view.
 +
#* '''Add User Defined Extent of Selected Layers to Background Maps (Offline)'''
 +
#:: [[File:WmsAddUserDefinedExtentOffline.png]] <br>
 +
#::* Define the '''Offline folder'''. The current map folder is set as default.
 +
#::* Define the '''Resolution'''.
 +
#::* Define the '''Extent''' (minimum easting, maximum easting, minimum northing, maximum northing). The current view extent is set as a default when opening the WMS dialog but the entries are not updated automatically by changing the view. The extent can be updated by clicking the '''Set extent to current view''' button.
 +
#:: With this offline option an image of the chosen WMS layer of the defined extent is downloaded from the WMS server and added as a custom background map to the map. It does not get updated when changing the view.
 +
#:: [[File:Hint.jpg]]
 +
# Click the '''Add''' button.
 +
#:: The WMS layer appears in the table of the '''[[Background_Map#Manage_Background_Maps|Manage Background Map]]''' dialog which can be displayed in the '''[[Background Map]]''' menu.
 +
#:: [[File: hint.jpg]] The '''Background map (Geo-Referenced)''' dialog appears if no real world coordinates offset is set. Choose an offset and click the '''OK''' button.
 +
<br><br>
 +
[[File:Hint.jpg]] Web Map Services generally provide their images in multiple spatial reference systems. OCAD can only access to WMS if the OCAD maps' coordinate system (ex. Swiss Grid CH1903) is supported by the WMS. Then the '''Spatial reference system''' is automatically set to the corresponding EPSG code. If the chosen coordinate system is not compatible with the WMS, the '''Spatial reference system''' caption in the WMS dialog remains empty.
 +
<br><br>
 +
Click the '''Close''' button when finished.<br><br>
 +
[[File:Hint.jpg]] Manage the view or remove the WMS maps by choosing the '''[[Background_Map#Manage_Background_Maps|Manage]]''' command from the '''[[Background Map]]''' menu:<br>
 +
[[File:WMSBackGroundMap.PNG]]
 +
 
 +
'''WMS Examples''':<br />
 +
[[File:WMSExample.PNG|1000px]]<br />
 +
[[File:WMS4.png|1000px]]
 +
 
 +
----
 +
Back to the '''[[Background Map]]''' page.

Latest revision as of 09:56, 7 March 2017

WMSTitle.PNG

A Web Map Service (WMS) is a standard protocol for serving georeferenced map images over the Internet. The images are generated by a map server using data from a GIS database. (taken from the Wikipedia Article.)

Hint.jpg WMS requires a georeferenced map. Choose the Scale and Coordinate System command from the Map menu to set the map scale and a coordinate system. Real world coordinates do not have to be necessarily defined. They can be left at (0/0) for example.

To set up a map from a WMS server choose the WMS - Web Map Service command from the Background Map menu. The WMS - Web Map Service dialog appears.

WmsDialog1.png

WMS Server

The WMS servers are listed in the upper box of the WMS - Web Map Service dialog.

Add a WMS Server

  1. Click the Add button.
  2. The Add WMS Server dialog appears.
  3. Enter the Name of the server, the URL, the Version and, if required, a Login with Password, the Token Server URL and a Key.
    AddWMSServer.PNG
  4. Click the OK button when finished.
  5. The WMS server appears in the WMS server box.

Connect to a WMS Server

Select a WMS server from the list and click Connect. If the connection was successful, OCAD gets a list from the server with the available layers. These layers are listed in the WMS layer table of the WMS - Web Map Service dialog. Read the WMS Layer article to learn how to use layers as Background Maps.

Hint.jpg Internet connection via proxy server is supported since OCAD 12.1.2.
WMSDialog2.PNG

Edit WMS Server Properties

Select a WMS server and click the Edit button to edit its properties. The Edit WMS Server Properties dialog appears which is equal to the Add WMS Server dialog.

EditWMSServerProperties.PNG

Remove a WMS Server

Click the Remove button to remove the selected WMS server from the list.

WMS Layer

After connecting to a WMS server the available WMS layers are listed in the WMS layer box.

WMSDialog3.PNG
  1. Select a WMS layer in the list and choose an Image format from dropdown list (those formats are provided by the WMS server).
  2. Choose an option how to add the selected layers:
    • Add Selected Layers as WMS Layers to Background Maps (Online)
    WmsAddLayerOnline.png
    This is an online Background Map . It is updated by the WMS Server by each change of the map view. This can take a moment. Choose the online option only if you are using a fast WMS server and work woth high speed internet connection. As an alternative, you can add the layer as an offline background map.
    • Add current view of selected layers to background maps (Offline)
    WmsAddCurrentViewOffline.png
    • Define the Offline folder. The current map folder is set as default.
    With this offline option an image of the chosen WMS layer of the current view is downloaded from the WMS server and added as a custom background map to the map. It does not get updated when changing the view.
    • Add User Defined Extent of Selected Layers to Background Maps (Offline)
    WmsAddUserDefinedExtentOffline.png
    • Define the Offline folder. The current map folder is set as default.
    • Define the Resolution.
    • Define the Extent (minimum easting, maximum easting, minimum northing, maximum northing). The current view extent is set as a default when opening the WMS dialog but the entries are not updated automatically by changing the view. The extent can be updated by clicking the Set extent to current view button.
    With this offline option an image of the chosen WMS layer of the defined extent is downloaded from the WMS server and added as a custom background map to the map. It does not get updated when changing the view.
    Hint.jpg
  3. Click the Add button.
    The WMS layer appears in the table of the Manage Background Map dialog which can be displayed in the Background Map menu.
    Hint.jpg The Background map (Geo-Referenced) dialog appears if no real world coordinates offset is set. Choose an offset and click the OK button.



Hint.jpg Web Map Services generally provide their images in multiple spatial reference systems. OCAD can only access to WMS if the OCAD maps' coordinate system (ex. Swiss Grid CH1903) is supported by the WMS. Then the Spatial reference system is automatically set to the corresponding EPSG code. If the chosen coordinate system is not compatible with the WMS, the Spatial reference system caption in the WMS dialog remains empty.

Click the Close button when finished.

Hint.jpg Manage the view or remove the WMS maps by choosing the Manage command from the Background Map menu:
WMSBackGroundMap.PNG

WMS Examples:
WMSExample.PNG
WMS4.png


Back to the Background Map page.