OGC WMS


Location: Overlay Types dialog > OGC > OGC WMS


Selecting OGC WMS will display the following OGC Web Map Services (WMS) dialog:

Well-known servers

Select a well known OGC WMS server from the drop-down box.

Connect using SAML 2.0 ECP Profile

Check this tickbox to make connection using the OASIS SecurityAssertion Markup Language (SAML) version 2.0.

See http://docs.oasis-open.org/security/saml/v2.0/ for details of (SAML) version 2.0 Profiles.

If this option is selected the Shibboleth Federation Metadata dialog will be displayed.

If this option is NOT selected the OGC WMS Layers dialog will be displayed, see below.

Validate 'Capabilities' XML from server

The WMS capabilities document tells clients exactly which layers, styles, extents, image formats, etc. a server supports.

Check this tickbox if you wish the XML returned by the server in this document to be validated.

Capabilities...

Displays the XML capabilities document for the OGC WFS in the resizable HTML/XML Viewer dialog, for example:

Click OK to return to the OGC Web Map Services (WMS) dialog.

    Click Next.

The two possible dialogs are as follows:

Enter the URL of the Shibboleth Federation Metadata and click Next.

The Shibboleth Logon Details dialog will be displayed:

Identity Provider

Select the Identity Provider from the drop-down list.

User name

Type the user ID to use for authentication when you log on.

Password

Type the password to use for authentication when you log on.

Save password in Options database (encrypted)

Should SIS store the password in the Options database? The password will be stored in encrypted form for security.

    Click Next.

Server Details

Title

This is a descriptive title returned by the OGC WMS

Capabilities... displays the capabilities for the OGC WMS in the resizable HTML/XML Viewer dialog, for example:


Click OK to return to the OGC Web Map Services (WMS) dialog.

Available Layers

Shows a hierarchical tree of the available layers in the OGC WMS.

Select the required layer(s) in this pane and click the appropriate right-arrow button:

Adds the OGC WMS selected layer to the list to be requested.

Recursively adds all of the child layers of the selected layer (i.e. the children, grand-children, etc.) to the list of layers to be requested.

Selected Layers

Shows the list of OGC WMS layers to be requested.

The up/down arrows will become active when a layer is selected in this pane.

The red cross button will delete a selected layer from the list.

Abstract and Legend

Displays extra textual information about the selected OGC-WMS layer, if available. A legend will be displayed in the right-hand pane, if available.

The following is an example of a completed OGC WMS Layers dialog:

Click Next.

The OGC WMS dialog will be displayed:

Coordinate Refrence System and Bounding Box

First box

The coordinate system of the raster images to download.

Second box

The available OGC WMS layers from which to select the bounding box.

Low X / Y, High X / Y

Show the low and high X and Y coordinates of the bounding box.

Image(s)

Format

This drop-down box selects the format of the images to be downloaded, choose from:

gif
jpeg (Quality = 50, 75, 90, 95)
png (Photometric Interpretation = PalletteColour, RGB, RGBA)

Note: application/pdf can be used as the Format parameter of any WMS GetMap request.

See Example of pdf format below.

Transparent

Check this tickbox if the returned images should be transparent.

One image per layer

Check this tickbox to create one image per OGC WMS layer with several requests, instead of a single composite image.

Background colour

Selects the background colour to be used for transparent images.

Dimensions

Create temporal dataset

Check the tickbox to create temporal data.

Time

Check the tickbox to include time.

Elevati...  

Check the tickbox to include elevation.

    Click Finish.

Note: Some of the parameters used in the WMS request string are specific to Cadcorp SIS, i.e. application/pdf, ContentLandscape, other parameters are standard OGC parameters. Refer to http://www.opengeospatial.org/standards/wms for an up to date WMS specification and details of the standard OGC request parameters.

Example of pdf format:

The following url may display the map shown:

http://localhost:4328/OgcService/WMS.impl?VERSION=1.3.0&SERVICE=
WMS&REQUEST=GetMap&STYLES=&FORMAT=application/pdf&CRS=
EPSG:4326&LAYERS=countries,laender&BBOX=-9.901447,179.999169,
84.929365,181..795516&WIDTH=546&HEIGHT=263&BGCOLOR=
0xFFFFFF&EXCEPTIONS=XML

The parameter:

application/pdf defines the format as pdf. The display will be as shown above in portrait orientation.

Appending ContentLandscape to application/pdf provides control of the orientation.

ContentLandscape=True

http://localhost:4328/OgcService/WMS.impl?VERSION=1.3.0&SERVICE=
WMS&REQUEST=GetMap&STYLES=&FORMAT=application/pdf;
ContentLandscape=True&CRS=EPSG:4326&LAYERS=countries,
laender&BBOX=-89.901447,-179.999169,84.929365,181..795516&WIDTH=
546&HEIGHT=263&BGCOLOR=0xFFFFFF&EXCEPTIONS=XML

ContentLandscape=True defines landscape orientation.

Note: The screen display will be portrait but the map can be rotated to landscape in Acrobat Reader:

Map rotated 90° anti-clockwise.

ContentLandscape=False

http://localhost:4328/OgcService/WMS.impl?VERSION=1.3.0&SERVICE=
WMS&REQUEST=GetMap&STYLES=&FORMAT=application/pdf;
ContentLandscape=False&CRS=EPSG:4326&LAYERS=countries,
laender&BBOX=-89.901447,-179.999169,84.929365,181..795516&WIDTH=
546&HEIGHT=263&BGCOLOR=0xFFFFFF&EXCEPTIONS=XML

ContentLandscape=False defines portrait orientation:


Top of page

Send comments on this topic.

Click to return to www.cadcorp.com

© Copyright 2000-2017 Computer Aided Development Corporation Limited (Cadcorp).