Skip to content

Possible bug when calculating the size of external legend graphics #1974

Description

@MathiasLuecker

When external graphics are configured as "l:LegendGraphic" for a layer, they are returned with the wrong size when retrieved via GetLegendGraphic. The incorrect size is also listed in the capabilities.

Example: https://qs-geodienste.hamburg.de/HH_WMS_KitaEinrichtung?service=WMS&request=GetLegendGraphic&version=1.3.0&format=image/png&layer=KitaEinrichtungen

When providing the correct width and height the legend has the correct dimension:
https://qs-geodienste.hamburg.de/HH_WMS_KitaEinrichtung?service=WMS&request=GetLegendGraphic&version=1.3.0&format=image/png&layer=KitaEinrichtungen&WIDTH=330&HEIGHT=205

We observed this behaviour in version 3.6.10. In version 3.6.5, however, it still works. Could this be related to this feature? #1912

Many thanks and best regards from Hamburg

Metadata

Metadata

Assignees

No one assigned

    Labels

    WMSdeegree Web Map Service

    Type

    Projects

    Status
    To do

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions