Discussion:
Qgis-server in single-symbol renderer don't use the metadata title.
Andrea Peri
2014-10-13 18:49:52 UTC
Permalink
Hi,

In qgis-server (i tested with last dev),
when use a category renderer,
and request a GetLegendGraphics.

The return use the LayerName as title of the layer in the Legend.
Like this sample show:

http://tinyurl.com/kwvoo6h

Or this other:

http://tinyurl.com/qaravsm

AFAIK should be better to have as Legend Title the title insert into
the Metadata Title (when filled).

Infact the layername is often a non-understandable code. Instead the
Metadata Title is a Human Understandable value.

The choice to put the layername istead of the Metadata title (when
available) is a bug or a wanted feature. ?

Thx.
--
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------
René-Luc Dhont
2014-10-14 06:57:49 UTC
Permalink
Hi Andrea,

It's a regression since the merge of the new Layer Tree.

Can you open an issue ?

Thanks,

René-Luc
Post by Andrea Peri
Hi,
In qgis-server (i tested with last dev),
when use a category renderer,
and request a GetLegendGraphics.
The return use the LayerName as title of the layer in the Legend.
http://tinyurl.com/kwvoo6h
http://tinyurl.com/qaravsm
AFAIK should be better to have as Legend Title the title insert into
the Metadata Title (when filled).
Infact the layername is often a non-understandable code. Instead the
Metadata Title is a Human Understandable value.
The choice to put the layername istead of the Metadata title (when
available) is a bug or a wanted feature. ?
Thx.
Andrea Peri
2014-10-14 08:08:27 UTC
Permalink
I open the ticket.
http://hub.qgis.org/issues/11406

Meanwhile I see that contrarly to the first email, the category also
wrong to put the title in the legend response.

Thx,

Andrea.
Post by René-Luc Dhont
Hi Andrea,
It's a regression since the merge of the new Layer Tree.
Can you open an issue ?
Thanks,
René-Luc
Post by Andrea Peri
Hi,
In qgis-server (i tested with last dev),
when use a category renderer,
and request a GetLegendGraphics.
The return use the LayerName as title of the layer in the Legend.
http://tinyurl.com/kwvoo6h
http://tinyurl.com/qaravsm
AFAIK should be better to have as Legend Title the title insert into
the Metadata Title (when filled).
Infact the layername is often a non-understandable code. Instead the
Metadata Title is a Human Understandable value.
The choice to put the layername istead of the Metadata title (when
available) is a bug or a wanted feature. ?
Thx.
_______________________________________________
Qgis-developer mailing list
http://lists.osgeo.org/mailman/listinfo/qgis-developer
--
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------
Loading...