[Geoserver-devel] [jira] (GEOS-6758) GetLegendGraphic link does not contain workspace

Benjamin Trigona-Harany created an issue

GeoServer / BugGEOS-6758

GetLegendGraphic link does not contain workspace

Issue Type:

BugBug

Affects Versions:

2.6.0

Assignee:

Andrea Aime

Components:

WMS

Created:

12/Nov/14 10:40 AM

Priority:

MajorMajor

Reporter:

Benjamin Trigona-Harany

As discussed in https://github.com/boundlessgeo/GeoExplorer/issues/28#issuecomment-62690834, GeoServer’s WMS capabilities document’s LegendURL link does not contain the layer’s workspace:

<LegendURL width="20" height="20"><Format>image/png</Format><OnlineResource xlink:type="simple" xlink:href="http://localhost:80/geoserver/ows?service=WMS&request=GetLegendGraphic&format=image%2Fpng&width=20&height=20&layer=streams"/></LegendURL

In the example above, if there is another layer named streams in the default workspace, we will get that layer’s legend from the link.

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v6.1.6#6162-sha1:7af547c)

Atlassian logo