GetLegendGraphic and SLD question
Gustavo Henrique Sberze Ribas
gribas at CPQD.COM.BR
Thu Sep 1 09:56:21 PDT 2005
Hello,
Yes it's possible and it works. I dunno what's wrong with your
configuration, try double checking the SLD. Here's my working
request:
http://localhost/cgi-bin/rni_wms?service=WMS&version=1.1.1&request=GetLegendGraphic&format=image/png&layer=medicao&SLD=http://localhost/tmp/882DEEF12E9E986C3D482BF819244E45.sld.xml
(MapServer 4.4 + Apache 2)
--
Gustavo
-----Original Message-----
From: Pagurek,Debbie [NCR]
Subject: [UMN_MAPSERVER-USERS] GetLegendGraphic and SLD question
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