Sundsvallskommun / OpenEMap-WebUserInterface

Open eMap user interface for the main map client
GNU Affero General Public License v3.0
4 stars 5 forks source link

Legend - broken image even though there is a legend avilable (4h) #191

Open anderserla opened 9 years ago

anderserla commented 9 years ago

For some layers there is a broken image shown even though there it is possible to get a legend

It seems like Geoserver dont like the scale parameter sent by GeoExt. This request is sent by OpenEMap, and does not work: https://extmaptest.sundsvall.se/geoserver/gwc/service/wms?SERVICE=WMS&EXCEPTIONS=application/vnd.ogc.se_xml&TRANSPARENT=TRUE&VERSION=1.1.1&REQUEST=GetLegendGraphic&LAYER=SundsvallsKommun:Byggnad&FORMAT=image/gif&SCALE=999999.999999999999

When removing SCALE tag, it works fine: https://extmaptest.sundsvall.se/geoserver/gwc/service/wms?SERVICE=WMS&EXCEPTIONS=application/vnd.ogc.se_xml&TRANSPARENT=TRUE&VERSION=1.1.1&REQUEST=GetLegendGraphic&LAYER=SundsvallsKommun:Byggnad&FORMAT=image/gif

anderserla commented 9 years ago

Seems like GWC does not accept the Scale argument