Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

More info on connection to ArcSDE and WFS can be found here.

wmsConnection

Defines a Web Map Service (WMS) connection that can be referenced by a wmsLayer.

...

More info on connection to ArcSDE and WFS can be found here.

Layer Choices

Many different types of layers can be defined to be included in the map. All configured layers will be shown in the layer selection panel, where they can be turned on/off by the user. Some of these layers will be explained below.

...

  • <url> : Base url for the wms server. This is everything before the text "VERSION=" in the url. Use & to include a &
  • <geoDatum> : Since 2023.01.  EPSG:3857 (Web Mercator) / or by default EPSG:4326 (WGS 84). When the WMS server supports Web Mercator it is recommended to configure EPSG:3857. This is more accurate than the default EPSG:4326 (WGS84) when zoomed out and far from the equator. 
  • <wmsVersion> : Since 2018.02. Version of the wms server. Between different versions, the formatting of the url to get the wms layer may differ. FEWS currently supports version 1.1.1 (used by default and used in versions older than 2018.02) and version 1.3.0.  To find the versions a WMS server supports, you can request its capabilities as described above.
  • <wmsLayerName> : Layer name to display. It's the part after the text "LAYERS=" till the next & or ; in the url. To find the layer names a WMS server has, you can request its capabilities as described above.
  • <vendorParameter> : Any parameters you need FEWS to pass in the url in each request it sends to the WMS server. For example, if you wish to configure a wms layer and your WMS server supports several "Styles", you can ensure that FEWS requests the correct style by adding a vendorParameter element with name="Styles" and value="the value you want". To find the styles supported by a WMS server, you can request its capabilities as described above. 
  • <imageFormat> : jpg, png, gif. Default is jpg
  • <transparent> : Only supported for png and gif

...

Code Block
languagexml
titleDemo with clouds Europe
<wmsLayer id="meteosat">
   <url>http://geoservices.knmi.nl/cgi-bin/METEOSAT9_DEMO.cgi?&amp;SERVICE=WMS&amp;</url>
   <geoDatum>EPSG:3857</geoDatum>
   <wmsLayerName>IR108</wmsLayerName>
   <cacheDir>$REGION_HOME$/wms_meteosat_cache</cacheDir>
</wmsLayer>

...

Code Block
languagexml
titleSRTM4.1 elevation map
<wmsLayer id="srtm" name="SRTM Elevations">
    <url>http://geoserver.webservice-energy.org/geoserver/mapserv/ows?</url>
    <geoDatum>EPSG:3857</geoDatum>
    <wmsLayerName>srtm</wmsLayerName>
    <visible>false</visible>
    <cacheDir>$CACHE_FOLDER$/WMSLayers/srtm</cacheDir>
</wmsLayer>

...

Code Block
languagexml
titleDemo Publieke Dienst op de kaart (PDOK)
<wmsLayer id="ahn2">
	<url>http://geodata.nationaalgeoregister.nl/ahn2/wms?service=wms&amp;request=getcapabilities</url>
	<wmsLayerName>ahn2    <geoDatum>EPSG:3857</geoDatum>
    <wmsLayerName>ahn2_5m</wmsLayerName>
	<cacheDir>$REGION_HOME$/ahn2_5m</cacheDir>
</wmsLayer>

...