You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have defined a default style in DefaultStyle parameter for WMS. However, when I do a GetMap request without style name, the style is 'default' and not the style define in DefaultStyle parameter.
Below, this is the style part of layer on my configuration file with DefaultStyle defined to 'official' style:
defaultStyle = "official"
styles = [
{
name = "official"
title = "Official"
type = "colormapconf"
color-map = ${color-maps.dem2}
legends = [
{
format = "image/png"
width = 36
height = 36
online-resource = {
type = "simple"
href = "http://dy0a51yzxbhxw.cloudfront.net/images/canada-icon.png"
}
}
]
Below, are different GetMap requests (one without style name, one with style name 'default' and one with style name 'officiel'). You can see on images when I do GetMap without style name, this is the same result as when i do GetMap with 'default' style name. However, when I do GetMap without style name, I was expecting the result was the DefaultStyle (official).
I have defined a default style in DefaultStyle parameter for WMS. However, when I do a GetMap request without style name, the style is 'default' and not the style define in DefaultStyle parameter.
Below, this is the style part of layer on my configuration file with DefaultStyle defined to 'official' style:
Below, are different GetMap requests (one without style name, one with style name 'default' and one with style name 'officiel'). You can see on images when I do GetMap without style name, this is the same result as when i do GetMap with 'default' style name. However, when I do GetMap without style name, I was expecting the result was the DefaultStyle (official).
SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&CRS=EPSG:3857&BBOX=-15311418.827202465,10517168.037228156,-7966581.2070160909,11455987.670955122&WIDTH=877&HEIGHT=112&LAYERS=arcticdem2m&STYLES=&EXCEPTIONS=XML&FORMAT=image/png&BGCOLOR=0xFEFFFF&TRANSPARENT=TRUE
SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&CRS=EPSG:3857&BBOX=-15311418.827202465,10517168.037228156,-7966581.2070160909,11455987.670955122&WIDTH=877&HEIGHT=112&LAYERS=arcticdem2m&STYLES=default&EXCEPTIONS=XML&FORMAT=image/png&BGCOLOR=0xFEFFFF&TRANSPARENT=TRUE
SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&CRS=EPSG:3857&BBOX=-15311418.827202465,10517168.037228156,-7966581.2070160909,11455987.670955122&WIDTH=877&HEIGHT=112&LAYERS=arcticdem2m&STYLES=official&EXCEPTIONS=XML&FORMAT=image/png&BGCOLOR=0xFEFFFF&TRANSPARENT=TRUE
Thank you
Sorry for the wrong label. Is not a "release" label.
The text was updated successfully, but these errors were encountered: