The minimum setup required for a WMS map engine is the capabilities url for the service.
...
Name | Type | Required | Description |
id | string | yes | Unique identifier |
url | string | yes | The capabilities url for the WMS service. You should not include the SERVICE, REQUEST or VERSION parameters in the URL, just use the base URL, these parameters will be added automatically based on the type of request that is being made |
format | string | no | Default format that the map engine will request from the WMS server if one is not specified. |
transparent | boolean | no | Determines if the areas of the image that are not covered by spatial data are rendered as transparent or as a solid colour (as set by the background property). Enabling transparency requires an image format that supports it (jpeg and png24 do not). |
background | integer | no | The RGB value for the image background if transparency is not enabled, the default is #ffffff |
username | string | no | A username to connect to the server as. |
password | string | no | A password to connect to the server as. This should be encrypted using 'encrypt' at the osgi prompt. |
qgis | boolean | no | Force any map engine as "QGIS". Capabilities xml should have to must have a version attribute and the version should be set for this to work. The current version number is 1.1.1 for this to work. |
Sub-tags
Name | type | cardinality |
layers | #layers | 0..1 |
sort | #sort | 0..1 |
styles | #style | 0..1 |
...
Note |
---|
As of version 1.3.7 of the WMS bundle the password can be encrypted using the osgi encrypt command. |
WMS 1.3.0
Don't "upgrade" to WMS 1.3.0 unless you really have to.
VersionĀ 2.15.16 of theĀ com.cohga.server.map.wms
bundle (released as part of Weave 2.5.21) improves support for WMS 1.3.0 by supporting map services that require their axis order to be swapped.
...