Thanks Mathieu, I was looking for the server eqivalent. I was hoping that there would be some way to use an SLD instead of hardcoding a CLASS in my mapfile. If not I will just convert the SLD to mapserver CLASSES in code. Any other ideas?
Cheers, Joost -----Original Message----- From: UMN MapServer Users List [mailto:[EMAIL PROTECTED] Sent: Thursday, July 06, 2006 12:20 AM To: [email protected] Subject: Re: [UMN_MAPSERVER-USERS] WMS Server and SLD 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:[EMAIL PROTECTED] De la part de Van Ulden, Joost Envoyé : jeudi 6 juillet 2006 03:02 À : [email protected] 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 [EMAIL PROTECTED] ============================================ -- 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.
