|
The getCapabilities section corresponding to the 'tiger:poly_landmarks' layer contains three style declarations: "grass", "polygon" and "restricted".
However, Geoserver ignores the style parameter in the getTile request, as the same result is returned regardless the value of style (see sample requests at [1]).
The style parameter is designed to return different symbolizations of the layer (e.g. OSM standard versus CycleMap symbolizations). If Geoserver currently doesn't intend to create different tile sets for each style, the obvious solution would be to just return a single style having an arbitrary name (e.g. "default"). Otherwise we are offering the clients useless styles that have no real effect.
[1] Sample requests: http://localhost:8080/geoserver/gwc/service/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=tiger%3Apoly_landmarks&STYLE=restricted&TILEMATRIXSET=EPSG%3A4326&TILEMATRIX=EPSG%3A4326%3A11&TILEROW=559&TILECOL=1206&FORMAT=image%2Fpng http://localhost:8080/geoserver/gwc/service/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=tiger%3Apoly_landmarks&STYLE=grass&TILEMATRIXSET=EPSG%3A4326&TILEMATRIX=EPSG%3A4326%3A11&TILEROW=559&TILECOL=1206&FORMAT=image%2Fpng http://localhost:8080/geoserver/gwc/service/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=tiger%3Apoly_landmarks&STYLE=polygon&TILEMATRIXSET=EPSG%3A4326&TILEMATRIX=EPSG%3A4326%3A11&TILEROW=559&TILECOL=1206&FORMAT=image%2Fpng
|