Skip to end of metadata
Go to start of metadata

Fichier WMSPortrayal.xml

WMS Parameters
Decorations

WMS map can be decorated by using a WMSPortrayal.xml file.

Here are exemple of what can be achieve with decorations :

Common to all decorations

All parameters are non-mandatory : the wms will use a default value is a parameter is missing.
position parameter can be : north, north-east, north-west, east, center, west, south, south-east or south-west
offset are relative to the closest border :

Text decoration

Image decoration

Grid decoration

If you dont provide the crs parameter, the crs of the map query will be used.

ScaleBar-Graphic decoration

Compas decoration

Since Constellation-SDI handle an extra parameter : Azimuth on getMap queries. The compas is really using the orientation. It is not a fake decoration like on most map server.

Legend decoration

Labels
  • None