[mapserver-users] Possible override class-generated legend graphic?

2021-01-12 Thread Bjørn Ove Grøtan
Hello I am familiar with how I can override legend urls (1) in the GetCapabilities-document, but when calling GetLegendGraphic directly on the layer the layer metadata for legend graphic is not affected. The issue I'm having is some cartographies will not generate a representative legend e.g

Re: [mapserver-users] Possible override class-generated legend graphic?

2021-01-12 Thread WhereGroup
Hello Björn, would KEYIMAGE help? -> https://mapserver.org/mapfile/class.html Am 12.01.21 um 10:36 schrieb Bjørn Ove Grøtan: > Hello > > I am familiar with how I can override legend urls (1) in the > GetCapabilities-document, > but when calling GetLegendGraphic directly on the layer the layer

Re: [mapserver-users] Possible override class-generated legend graphic?

2021-01-12 Thread Bjørn Ove Grøtan
That would possibly work if I had one or two classes for the given layers. Will check out, thanks. By the way, I'm also looking into using overriden legends for line symbology, for which I have a lot of classes for. Splitting up the current composite legend png in individual png is of course po

Re: [mapserver-users] Possible override class-generated legend graphic?

2021-01-19 Thread Bjørn Ove Grøtan
By the way, we ended up using regexps and in apache to fetch getlegendgraphic requests to the layers in question. It would be nice if GetLegendGraphic on a given layer returned the same image (or html) as overriden in Layer metadata (GetCapabilitites) though. Desktop GIS (QGIS, ESRI etc) all us