Wms capabilities top10nlv2 adverteert niet bestaande style top10nlv2:default_groupstyle

in wms capabilities van https://geodata.nationaalgeoregister.nl/top10nlv2/ows?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities wordt een stijl top10nlv2:default_groupstyle geadverteerd, als je deze echter gebruikt in een kaart request, dan faalt de call https://geodata.nationaalgeoregister.nl/top10nlv2/ows?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&FORMAT=image%2Fpng&TRANSPARENT=true&LAYERS=top10nlv2&STYLES=top10nlv2%3Adefault_groupstyle&WIDTH=286&HEIGHT=286&CRS=EPSG%3A3857&BBOX=579555.1030867429%2C6826600.550777626%2C582287.726847938%2C6829333.174538822

We hebben de capabilities documenten aangepast zodat deze foutieve style niet meer geadverteerd wordt.
https://geodata.nationaalgeoregister.nl/top10nlv2/wms?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities

Je kunt de grouplayer benaderen door de STYLES= parameter leeg te laten:
geodata.nationaalgeoregister.nl/top10nlv2/wms?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&FORMAT=image%2Fpng&TRANSPARENT=true&LAYERS=top10nlv2&STYLES=&WIDTH=286&HEIGHT=286&CRS=EPSG%3A3857&BBOX=579555.1030867429%2C6826600.550777626%2C582287.726847938%2C6829333.174538822

top10nlv2-top10nlv2

2 likes