WMS: Unterschied zwischen den Versionen

Aus OCAD 11 Wiki - Deutsch
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:
[[File:WMSTitle.PNG]]
[[File: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 '''[http://en.wikipedia.org/wiki/Web_Map_Service Wikipedia Article]'''.'')
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://de.wikipedia.org/wiki/Web_Map_Service Wikipedia Article]'''.'')


[[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.
[[File:Hint.jpg]] WMS requires a georeferenced map. Choose the '''[[Create_a_New_Map#Massstab und Koordinatensystem|Massstab und Koordinatensystem]]''' 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.
To set up a map from a WMS server choose the '''WMS - Web Map Service''' command from the '''[[Hintergrundkarte]]''' menu. The '''WMS - Web Map Service''' dialog appears.


[[File:WMSDialog1.PNG]]
[[File:WMSDialog1.PNG]]


== WMS Server ==
== WMS-Server ==


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


=== Add a WMS Server ===
=== WMS-Server hinzufügen ===


# Click the '''Add''' button.
# Click the '''Add''' button.
Zeile 22: Zeile 22:
# The WMS server appears in the WMS server box.
# The WMS server appears in the WMS server box.


=== Connect to a WMS Server ===
=== Mit einem WMS-Server verbinden ===


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]]'''.
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|Hintergrundkarten]]'''.


[[File:Hint.jpg]] A bug with the error message 'Could Not Load SSL Library' is fixed since OCAD 11.1.7.1385.
[[File:Hint.jpg]] A bug with the error message 'Could Not Load SSL Library' is fixed since OCAD 11.1.7.1385.
Zeile 30: Zeile 30:
: [[File:WMSDialog2.PNG]]
: [[File:WMSDialog2.PNG]]


=== Edit WMS Server Properties ===
=== WMS-Servereigenschaften bearbeiten ===


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.
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#WMS-Server hinzufügen|WMS-Server hinzufügen]]''' dialog.
: [[File:EditWMSServerProperties.PNG]]
: [[File:EditWMSServerProperties.PNG]]


=== Remove a WMS Server ===
=== WMS-Server entfernen ===


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


== WMS Layer ==
== WMS-Layer ==
After connecting to a WMS server the available WMS layers are listed in the WMS layer box. The '''Image format''' can be chosen if a layer is selected.
After connecting to a WMS server the available WMS layers are listed in the WMS layer box. The '''Image format''' can be chosen if a layer is selected.


Zeile 47: Zeile 47:




=== Add Selected Layers as WMS Layers to Background Maps (Online) ===
=== Selektierte Layer als WMS-Layer zu den Hintergrundkarten hinzufügen (online) ===


Select a WMS layer in the list, choose an image format in the '''Image format''' dropdown list (those formats are provided by the WMS server) and click the '''Add selected layers as WMS layers to background maps (online)''' button. If no real world coordinates are set, the '''Background map (Geo-Referenced)''' dialog appears. Choose an offset and click the '''OK''' button.
Select a WMS layer in the list, choose an image format in the '''Image format''' dropdown list (those formats are provided by the WMS server) and click the '''Add selected layers as WMS layers to background maps (online)''' button. If no real world coordinates are set, the '''Background map (Geo-Referenced)''' dialog appears. Choose an offset and click the '''OK''' button.


The WMS layer appears in the table of the '''Manage Background Map''' dialog which can be displayed in the '''[[Background Map]]''' menu.
The WMS layer appears in the table of the '''Manage Background Map''' dialog which can be displayed in the '''[[Hintergrundkarte]]''' menu.


This is an online '''[[Background Map]]'''. Everytime the view of the map is changed, the '''[[Background Map]]''' gets updated from the WMS server. Updating the '''[[Background Map]]''' can take a moment. Choose the online '''[[Background Map]]''' option only if you are using a fast WMS server and a good internet connection. As an alternative, you can load the layer as offline '''[[Background Map|Background Maps]]'''.
This is an online '''[[Hintergrundkarte]]'''. Everytime the view of the map is changed, the '''[[Hintergrundkarte]]''' gets updated from the WMS server. Updating the '''[[Hintergrundkarte]]''' can take a moment. Choose the online '''[[Hintergrundkarte]]''' option only if you are using a fast WMS server and a good internet connection. As an alternative, you can load the layer as offline '''[[Background Map|Hintergrundkarten]]'''.




=== Add Current View of Selected Layers to Background Maps (Offline) ===
=== Aktuelle Ansicht der selektierten Layer als Hintergrundkarte hinzufügen (offline) ===


Select a WMS layer in the list, choose an image format in the '''Image format''' dropdown list (those formats are provided by the WMS server) and click the '''Add current view of selected layers to background maps (offline)''' button. If no real world coordinates are set, the '''Background map (Geo-Referenced)''' dialog appears. Choose an offset and click the '''OK''' button.
Select a WMS layer in the list, choose an image format in the '''Image format''' dropdown list (those formats are provided by the WMS server) and click the '''Add current view of selected layers to background maps (offline)''' button. If no real world coordinates are set, the '''Background map (Geo-Referenced)''' dialog appears. Choose an offset and click the '''OK''' button.


The WMS layer appears in the table of the '''Manage Background Map''' dialog which can be displayed in the '''[[Background Map]]''' menu.
The WMS layer appears in the table of the '''Manage Background Map''' dialog which can be displayed in the '''[[Hintergrundkarte]]''' menu.


This is an offline '''[[Background Map]]'''. An image of the chosen WMS layer of the current view was donwloaded from the WMS server and is now available in OCAD. The '''[[Background Map]]''' does not get updated when changing the view.
This is an offline '''[[Hintergrundkarte]]'''. An image of the chosen WMS layer of the current view was donwloaded from the WMS server and is now available in OCAD. The '''[[Hintergrundkarte]]''' does not get updated when changing the view.






Click the '''Close''' button when finished. You can manage the view or remove the WMS maps by choosing the '''Manage''' command from the '''[[Background Map]]''' menu.
Click the '''Close''' button when finished. You can manage the view or remove the WMS maps by choosing the '''Manage''' command from the '''[[Hintergrundkarte]]''' menu.


[[File:WMSBackGroundMap.PNG]]
[[File:WMSBackGroundMap.PNG]]
Zeile 77: Zeile 77:


----
----
Back to the '''[[Background Map]]''' page.
Back to the '''[[Hintergrundkarte]]''' page.

Version vom 24. Juni 2013, 10:54 Uhr

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 Massstab und Koordinatensystem 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 Hintergrundkarte 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.

WMS-Server hinzufügen

  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.

Mit einem WMS-Server verbinden

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 Hintergrundkarten.

Hint.jpg A bug with the error message 'Could Not Load SSL Library' is fixed since OCAD 11.1.7.1385.

WMSDialog2.PNG

WMS-Servereigenschaften bearbeiten

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-Server hinzufügen dialog.

EditWMSServerProperties.PNG

WMS-Server entfernen

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. The Image format can be chosen if a layer is selected.

WMSDialog3.PNG

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 box at the lower part of the dialog remains empty.


Selektierte Layer als WMS-Layer zu den Hintergrundkarten hinzufügen (online)

Select a WMS layer in the list, choose an image format in the Image format dropdown list (those formats are provided by the WMS server) and click the Add selected layers as WMS layers to background maps (online) button. If no real world coordinates are set, the Background map (Geo-Referenced) dialog appears. Choose an offset and click the OK button.

The WMS layer appears in the table of the Manage Background Map dialog which can be displayed in the Hintergrundkarte menu.

This is an online Hintergrundkarte. Everytime the view of the map is changed, the Hintergrundkarte gets updated from the WMS server. Updating the Hintergrundkarte can take a moment. Choose the online Hintergrundkarte option only if you are using a fast WMS server and a good internet connection. As an alternative, you can load the layer as offline Hintergrundkarten.


Aktuelle Ansicht der selektierten Layer als Hintergrundkarte hinzufügen (offline)

Select a WMS layer in the list, choose an image format in the Image format dropdown list (those formats are provided by the WMS server) and click the Add current view of selected layers to background maps (offline) button. If no real world coordinates are set, the Background map (Geo-Referenced) dialog appears. Choose an offset and click the OK button.

The WMS layer appears in the table of the Manage Background Map dialog which can be displayed in the Hintergrundkarte menu.

This is an offline Hintergrundkarte. An image of the chosen WMS layer of the current view was donwloaded from the WMS server and is now available in OCAD. The Hintergrundkarte does not get updated when changing the view.


Click the Close button when finished. You can manage the view or remove the WMS maps by choosing the Manage command from the Hintergrundkarte menu.

WMSBackGroundMap.PNG

Examples to display the map:


WMSExample.PNG
WMS4.png


Back to the Hintergrundkarte page.