Version 1 (December, 2002)
© Pedro Pereira Gonçalves (pedro@inovagis.org)

Original File usestyles.htm
Abstract This page describes how to use styles in order to request GIServer parameters.
Author Pedro Pereira Gonçalves (email)
Last Change
History 2002-11-12 : Adapted to inovaGIS version 3.2
2001-11-27 : Examples for GIServer tags added
2001-10-18 : File Created
Index Page GIServer tutorial
Important Links:

When you want that your requests that use specific parameters of the GIServer be compatible with OpenGIS WMS specification you should create styles. These sytles will make GIServer automatically add this non-compliant parameters needed to your applications. A style can be declared at the Server level or at the dataset level .



An example of such a request is

  REQUEST=GETMAP&
  LAYERS=TERRA.MODIS,TERRA.BORDERS&
  BBOX=-10,32,20,47&
  WIDTH=200&
  HEIGHT=100&
  FORMAT=GIF&
  TERRA.BORDERS.STYLE=pen-width:2

Where the GIServer paramenter STYLE will be used for the TERRA.BORDERS layer.

Using Styles the request respects the WMS specification and will be defined as :

  REQUEST=GETMAP&
  LAYERS=TERRA.MODIS,TERRA.BORDERS&
  BBOX=-10,32,20,47&
  WIDTH=200&
  HEIGHT=100&
  FORMAT=GIF&
  STYLES=,STRONG


See also: