GetLegendGraphic and SLD question

Pagurek,Debbie [NCR] Debbie.Pagurek at EC.GC.CA
Thu Sep 1 11:42:24 EDT 2005


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20050901/0b4ab4a0/attachment.html


More information about the mapserver-users mailing list