pre-release version 0.9 (September, 2001)
© 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 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.PATHFINDER,TERRA.BORDERS&
  BBOX=-10,32,20,47&
  WIDTH=200&
  HEIGHT=100&
  FORMAT=GIF&
  TERRA.BORDERS.PEN=2

Where the GIServer paramenter PEN is used for the TERRA.BORDERS layer.

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

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


See also:

This is a old historical version of the inovaGIS site For updated info about GIServer please go to http://giserver.terradue.com/