GetLegendGraphic and SLD question

Pagurek,Debbie [NCR] Debbie.Pagurek at EC.GC.CA
Thu Sep 1 13:20:07 EDT 2005


Hmm - I tried with SLD_BODY and at least I got an image this time, but it seems to be the "regular" getlegendgraphic response, not what's actually in the SLD_BODY.

I think I'll file a bug on this.

Debbie

-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On Behalf Of Bart van den Eijnden
Sent: Thursday, September 01, 2005 11:50 AM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: Re: [UMN_MAPSERVER-USERS] GetLegendGraphic and SLD question


Hi Debbie,

it used to work for me, but I think I used SLD_BODY back then (which should not make a difference), see also:

http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=1154

Haven't tried it in a while though.

Best regards,
Bart

Bart van den Eijnden
Syncera IT Solutions
Postbus 270
2600 AG  DELFT

tel.nr.: 015-7512436
email: BEN at Syncera-ITSolutions.nl

>>> "Pagurek,Debbie [NCR]" <Debbie.Pagurek at EC.GC.CA> 09/01/05 5:42 pm 
>>> >>>
Does anyone know if it is possible to apply an SLD to a getlegendgraphic request? I thought I read somewhere that the following URL would work, but I am getting a blank screen. The sld works fine with a getmap request. Here's the documentation I read: http://mapserver.gis.umn.edu/doc46/wms-server-howto.html#getlegendgraphic 

http://localhost/cgi-bin/mapserv.exe?map=c:\ms4w\apps\chameleon\cesi\map\mapfile1.map&service=wms&version=1.1.1&request=getlegendgraphic&layer=pearseshape&format=image/gif&sld=http://localhost/chameleon/cesi/sldpearseshape.xml 

Debbie Pagurek, M.Sc.
Integrated Environmental Applications Branch / Direction des Applications Environnementales Intégrés Knowledge Integration Directorate / Direction générale de l'integration du savoir Environment Canada / Environnement Canada 70 Crémazie, 7th Floor / 7e étage Gatineau, Québec  K1A 0H3 Tel / Tél: (819) 997-5956 Fax / Téléc: (819) 994-5738 E-mail / Courriel: Debbie.Pagurek at ec.gc.ca 



More information about the mapserver-users mailing list