Nous utilisons des cookies pour vous garantir la meilleure expérience sur notre site. Si vous continuez à utiliser ce dernier, nous considèrerons que vous acceptez l'utilisation des cookies. J'ai compris ! ou En savoir plus !.
banniere

Le portail francophone de la géomatique


Toujours pas inscrit ? Mot de passe oublié ?

Ceci est une ancienne révision du document !



Strict Standards: Declaration of syntax_plugin_tag_topic::handle() should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in /var/www/html/web/wiki/lib/plugins/tag/syntax/topic.php on line 123

Strict Standards: Declaration of syntax_plugin_tag_topic::render() should be compatible with DokuWiki_Syntax_Plugin::render($format, Doku_Renderer $renderer, $data) in /var/www/html/web/wiki/lib/plugins/tag/syntax/topic.php on line 123

Strict Standards: Declaration of syntax_plugin_tag_searchtags::handle() should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in /var/www/html/web/wiki/lib/plugins/tag/syntax/searchtags.php on line 280

Strict Standards: Declaration of syntax_plugin_tag_searchtags::render() should be compatible with DokuWiki_Syntax_Plugin::render($format, Doku_Renderer $renderer, $data) in /var/www/html/web/wiki/lib/plugins/tag/syntax/searchtags.php on line 280

Strict Standards: Declaration of syntax_plugin_tag_tag::handle() should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in /var/www/html/web/wiki/lib/plugins/tag/syntax/tag.php on line 118

Strict Standards: Declaration of syntax_plugin_tag_tag::render() should be compatible with DokuWiki_Syntax_Plugin::render($format, Doku_Renderer $renderer, $data) in /var/www/html/web/wiki/lib/plugins/tag/syntax/tag.php on line 118

Strict Standards: Declaration of syntax_plugin_tag_count::handle() should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in /var/www/html/web/wiki/lib/plugins/tag/syntax/count.php on line 130

Strict Standards: Declaration of syntax_plugin_tag_count::render() should be compatible with DokuWiki_Syntax_Plugin::render($format, Doku_Renderer $renderer, $data) in /var/www/html/web/wiki/lib/plugins/tag/syntax/count.php on line 130

Strict Standards: Declaration of syntax_plugin_tag_tagpage::handle() should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in /var/www/html/web/wiki/lib/plugins/tag/syntax/tagpage.php on line 96

Strict Standards: Declaration of syntax_plugin_tag_tagpage::render() should be compatible with DokuWiki_Syntax_Plugin::render($format, Doku_Renderer $renderer, $data) in /var/www/html/web/wiki/lib/plugins/tag/syntax/tagpage.php on line 96

Strict Standards: Declaration of syntax_plugin_clearfloat::handle() should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in /var/www/html/web/wiki/lib/plugins/clearfloat/syntax.php on line 74

Strict Standards: Declaration of syntax_plugin_clearfloat::render() should be compatible with DokuWiki_Syntax_Plugin::render($format, Doku_Renderer $renderer, $data) in /var/www/html/web/wiki/lib/plugins/clearfloat/syntax.php on line 74

Strict Standards: Declaration of syntax_plugin_pageindex::handle() should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in /var/www/html/web/wiki/lib/plugins/pageindex/syntax.php on line 187

Strict Standards: Declaration of syntax_plugin_pageindex::render() should be compatible with DokuWiki_Syntax_Plugin::render($format, Doku_Renderer $renderer, $data) in /var/www/html/web/wiki/lib/plugins/pageindex/syntax.php on line 187

Strict Standards: Declaration of syntax_plugin_googlemaps_googlemap::handle() should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in /var/www/html/web/wiki/lib/plugins/googlemaps/syntax/googlemap.php on line 169

Strict Standards: Declaration of syntax_plugin_googlemaps_googlemap::render() should be compatible with DokuWiki_Syntax_Plugin::render($format, Doku_Renderer $renderer, $data) in /var/www/html/web/wiki/lib/plugins/googlemaps/syntax/googlemap.php on line 169

Strict Standards: Declaration of syntax_plugin_nextpage::handle() should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in /var/www/html/web/wiki/lib/plugins/nextpage/syntax.php on line 69

Strict Standards: Declaration of syntax_plugin_nextpage::render() should be compatible with DokuWiki_Syntax_Plugin::render($format, Doku_Renderer $renderer, $data) in /var/www/html/web/wiki/lib/plugins/nextpage/syntax.php on line 69

Strict Standards: Declaration of syntax_plugin_include::handle() should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in /var/www/html/web/wiki/lib/plugins/include/syntax.php on line 137

Strict Standards: Declaration of syntax_plugin_include::render() should be compatible with DokuWiki_Syntax_Plugin::render($format, Doku_Renderer $renderer, $data) in /var/www/html/web/wiki/lib/plugins/include/syntax.php on line 137
Plugin installed incorrectly. Rename plugin directory 'backlinks.old' to 'backlinks'.

Styled Layer Description (SLD)

Description

Le standard SLD ajoute de nouvelles fonctionnalités aux standards WMS. Ces ajouts concernent la gestion de la sémiologie des couches côté serveur afin de modifier ou récupérer les styles des couches au niveau du serveur et côté client dans la mesure où il propose un langage XML pour définir la sémiologie d'une couche.

Le standard SLD peut être donc découpé en deux parties :

  • la description sémiologique de rendu des couches en xml ;
  • la description des requêtes afin d'agir sur les styles côté serveur.

Le standard SLD repose sur un autre standard appelé SE (Style Encoding) qui décrit la sémiologie d'une couche en xml.

Fonctionnement

Comme tout standard, celui du SLD propose une structuration des URL pour réaliser différentes types de requête :

  • DescribeLayer : récupère la description des couches ;
  • GetStyles : récupère les styles au format XML ;
  • PutStyles : envoie des styles au serveur ;
  • GetLegendGraphic : récupère la légende d'une couche au format image.

Requêtes

DescribeLayer

Permet d'obtenir des informations sur la couche, telle que le type de données (raster, polygon, point ou ligne).

GetStyles

Permet d'obtenir les styles pour chaque couches au format XML.

Les paramètres obligatoires sont :

  • LAYERS = nomCouche
  • VERSION = 1.1.0 (par exemple)
  • REQUEST = GetStyles

Les paramètres optionnels sont :

  • SLDVER = 1.0.0

PutStyles

Modifie le style d'une couche.

Les paramètres obligatoires sont :

  • VERSION = 1.1.0 (par exemple)
  • REQUEST = PutStyles
  • MODE=

Les paramètres optionnels sont :

  • SLD=
  • SLD_BODY=

GetLegendGraphic

Permet d'obtenir une légende au format image.

Les paramètres obligatoires sont :

  • LAYER =nomCouche
  • VERSION = 1.1.0 (par exemple)
  • REQUEST = GetLegendGraphic
  • FORMAT=jpeg

Les paramètres optionnels sont :

  • STYLE
  • FEATURETYPE
  • RULE
  • SCALE
  • SLD
  • SLD_BODY
  • WITDH
  • HEIGHT
  • EXCEPTIONS

SLD et WMS

Comme dit dans l'introduction le standard SLD permet d'étendre le standard WMS. On retrouve ainsi le paramètre SLD ou SLD_BODY dans les requêtes WMS compatible SLD. Ces deux paramètres exclusifs l'un l'autre permettent de définir la sémiologie d'une couche via respectivement un fichier SLD disponible par Internet (paramètre SLD) et directement en XML dans l'URL (paramètre SLD_BODY).

Bibliographie

  1. WMS et Représentation multiples - Intégration de la spécification SLD dans le Géoproxy; Travail de semestre de Nicolas Ferreira - HEIG-VD (2008): http://www.asitvd.ch (publication / rapports)

 
main/standards/sld.1286712151.txt.gz · Dernière modification: 2010/10/10 14:02 par Yves
Recent changes RSS feed Creative Commons License Valid XHTML 1.0 Valid CSS Driven by DokuWiki