GetLegendGraphic and SLD question

Bart van den Eijnden BEN at SYNCERA-ITSOLUTIONS.NL
Thu Sep 1 11:49:41 EDT 2005


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