[GeoNetwork-devel] MapServer GetLegendGraphic don't work... &Style= is missing

Hi!

I've just installed geonetwork v 2.2 and I noticed that when in the map
viewer, when I show a layer information, that the Legend information (an
image from GetLegendGraphic) is not sowing. The url looks like this :

http://chum1088:8082/cgi-bin/mapserv.exe?map=C:/mapfiles/geodatabase.map&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=Roads&format=image/png

and if I add $style= at the end.. it works fine

http://chum1088:8082/cgi-bin/mapserv.exe?map=C:/mapfiles/geodatabase.map&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=Roads&format=image/png&style=

where in the source code can I add &style= to make the legend show up.

thanks
Jean-Bernard Gariépy
--
View this message in context: http://www.nabble.com/MapServer-GetLegendGraphic-don't-work…–Style%3D-is-missing-tp17763702p17763702.html
Sent from the geonetwork-devel mailing list archive at Nabble.com.

Sory! It was my mistake. In my mapfile the LABEL -> FONT had a misspelling.

crayco wrote:

Hi!

I've just installed geonetwork v 2.2 and I noticed that when in the map
viewer, when I show a layer information, that the Legend information (an
image from GetLegendGraphic) is not sowing. The url looks like this :

http://chum1088:8082/cgi-bin/mapserv.exe?map=C:/mapfiles/geodatabase.map&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=Roads&format=image/png

and if I add $style= at the end.. it works fine

http://chum1088:8082/cgi-bin/mapserv.exe?map=C:/mapfiles/geodatabase.map&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=Roads&format=image/png&style=

where in the source code can I add &style= to make the legend show up.

thanks
Jean-Bernard Gariépy

--
View this message in context: http://www.nabble.com/MapServer-GetLegendGraphic-don't-work…–Style%3D-is-missing-tp17763702p17763779.html
Sent from the geonetwork-devel mailing list archive at Nabble.com.