![]() |
|
|
|
|
Issue Type:
|
Bug
|
|
Affects Versions:
|
2.4.1 |
|
Assignee:
|
Andrea Aime
|
|
Components:
|
WMS |
|
Created:
|
23/Dec/13 7:42 AM
|
|
Description:
|
In the WMS GetCapabilities (1.1.1 and 1.3.0), GeoServer reports for each style:
'<LegendURL width="20" height="20">'
The problem is, this is often incorrect. I.e., the following is 291*280, but the GetCaps shows it as being 20*20:
http://maps.warwickshire.gov.uk/gs/ows?service=WMS&request=GetLegendGraphic&format=image%2Fpng&width=20&height=20&layer=TRO_ORDERS_GEOSERVER_VIEW
Looking at the 1.3.0 spec, width and height is optional here it seems.
So either:
a) Remove it.
b) (preferable) Ensure it is reporting the correct width/height of the legend.
"and the optional attributes width and height state the size of the image in pixels. Servers should provide the width and height attributes if known at the time of processing the GetCapabilities request"
|
|
Project:
|
GeoServer
|
|
Priority:
|
Major
|
|
Reporter:
|
Jonathan Moules
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel