Re: [mapserver-users] Possible override class-generated legend graphic?
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 possible, but tedious work. -- Kind regards Bjørn Ove Grøtan Jörg Thomsen (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 metadata > > for > > legend graphic is not affected. > > > > The issue I'm having is some cartographies will not generate a > > representative legend > > e.g. piecharts and v-line-shift style node-cartography (2) > > > > Anyone have any input on how (if possible) to override the legend when > > calling > > GetLegendGraphic on individual layers? > > > > (1) wms_style__legendurl_href > > (https://mapserver.org/ogc/wms_server.html) > > (2) v-line-shift > > (https://mapserver.org/mapfile/symbology/construction.html#changing-the-center-of-a-point-symbol) > > > > > Viele Grüße, > Jörg Thomsen > > -- > - > Aufwind durch Wissen! > Web-Seminare und Online-Schulungen > bei der www.foss-academy.com > - > > Jörg Thomsen > WhereGroup GmbH > Bundesallee 23 > 10717 Berlin > Germany > > Fon: +49 (0)30 / 5130 278 74 > Fax: +49 (0)30 / 5130 278 11 > > joerg.thom...@wheregroup.com > www.wheregroup.com > > Geschäftsführer: > Olaf Knopp, Peter Stamm > Amtsgericht Bonn, HRB 9885 > > --- > Folgen Sie der WhereGroup auf twitter: http://twitter.com/WhereGroup_com > ___ > mapserver-users mailing list > mapserver-users@lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/mapserver-users ___ mapserver-users mailing list mapserver-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Possible override class-generated legend graphic?
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 metadata > for > legend graphic is not affected. > > The issue I'm having is some cartographies will not generate a representative > legend > e.g. piecharts and v-line-shift style node-cartography (2) > > Anyone have any input on how (if possible) to override the legend when calling > GetLegendGraphic on individual layers? > > (1) wms_style__legendurl_href > (https://mapserver.org/ogc/wms_server.html) > (2) v-line-shift > (https://mapserver.org/mapfile/symbology/construction.html#changing-the-center-of-a-point-symbol) > Viele Grüße, Jörg Thomsen -- - Aufwind durch Wissen! Web-Seminare und Online-Schulungen bei der www.foss-academy.com - Jörg Thomsen WhereGroup GmbH Bundesallee 23 10717 Berlin Germany Fon: +49 (0)30 / 5130 278 74 Fax: +49 (0)30 / 5130 278 11 joerg.thom...@wheregroup.com www.wheregroup.com Geschäftsführer: Olaf Knopp, Peter Stamm Amtsgericht Bonn, HRB 9885 --- Folgen Sie der WhereGroup auf twitter: http://twitter.com/WhereGroup_com ___ mapserver-users mailing list mapserver-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Possible override class-generated legend graphic?
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. piecharts and v-line-shift style node-cartography (2) Anyone have any input on how (if possible) to override the legend when calling GetLegendGraphic on individual layers? (1) wms_style__legendurl_href (https://mapserver.org/ogc/wms_server.html) (2) v-line-shift (https://mapserver.org/mapfile/symbology/construction.html#changing-the-center-of-a-point-symbol) -- Kind regards Bjørn Ove Grøtan ___ mapserver-users mailing list mapserver-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users