WMS Server and SLD

Mathieu Coudert m.coudert at OIEAU.FR
Thu Jul 6 03:19:47 EDT 2006


Hi,

By this way you can add a SLD...
'wms_sld_url' 'http://xml.sandre.eaufrance.fr/exist/Geo/sld/my_layer.xml'

For instance, in your map file :

LAYER
    NAME 'my_layer'
    TYPE RASTER 

    CONNECTION 'http://www.irep.ecologie.gouv.fr/geoservice?'
    CONNECTIONTYPE WMS
    METADATA
      'wms_srs'             'EPSG:27582'
      'wms_name'            'my_layer_name'
      'wms_server_version'  '1.1.1'
      'wms_format'          'image/png'
      'wms_legend_graphic'   '1'
      'wms_sld_url' 'http://xml.sandre.eaufrance.fr/exist/Geo/sld/IREP.xml'
    END
  END

Regards,


-----Message d'origine-----
De : UMN MapServer Users List [mailto:MAPSERVER-USERS at lists.umn.edu] De la
part de Van Ulden, Joost
Envoyé : jeudi 6 juillet 2006 03:02
À : MAPSERVER-USERS at lists.umn.edu
Objet : [UMN_MAPSERVER-USERS] WMS Server and SLD

Hi all,

Just wondering if there is a way to add an SLD url to a layer in WMS
Server.

Thank you in advance,

============================================
Joost van Ulden
Programmer/Analyst
Natural Resources Canada / Ressources naturelles Canada Geological
Survey of Canada / Commission geologique du Canada
101 - 605 Robson Street / 101 - 605 rue Robson Vancouver, B.C. /
Vancouver (C.B.) V6B 5J3
Office/Bureau: 604.666.7525
fax/telecopieur: 604.666.1124
jvanulde at nrcan.gc.ca
============================================

-- 
Ce message a ete verifie par MailScanner pour des virus ou des polluriels et
rien de suspect n'a ete trouve.

Les donnees et renseignements contenus dans ce message sont personnels,
confidentiels et prives. Toute publication, utilisation ou diffusion, meme
partielle, doit etre autorisee.

Any data and information contained in this electronic mail is personal,
confidential and secret. Any total or partial publication, use or
distribution must be authorized.


-- 
Ce message a ete verifie par MailScanner pour des virus ou des polluriels et rien de suspect n'a ete trouve.

Les donnees et renseignements contenus dans ce message sont personnels, confidentiels et prives. Toute publication, utilisation ou diffusion, meme partielle, doit etre autorisee.

Any data and information contained in this electronic mail is personal, confidential and secret. Any total or partial publication, use or distribution must be authorized.



More information about the mapserver-users mailing list