[Geoserver-devel] [jira] (GEOS-6525) WMTS getTile request ignores STYLE parameter (or Geoserver provides invalid styles on WMTS getCapabilities)

Cesar Martinez Izquierdo created an issue

GeoServer / BugGEOS-6525

WMTS getTile request ignores STYLE parameter (or Geoserver provides invalid styles on WMTS getCapabilities)

Issue Type:

BugBug

Assignee:

Andrea Aime

Created:

05/Jun/14 7:57 AM

Priority:

MajorMajor

Reporter:

Cesar Martinez Izquierdo

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

Add Comment

Add Comment

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

Atlassian logo