[Geoserver-devel] [JIRA] (GEOS-7559) GetFeatureInfo request return exception whith SLD_BODY param.

Andrea Cappugi created an issue

GeoServer / BugGEOS-7559

GetFeatureInfo request return exception whith SLD_BODY param.

Issue Type:

BugBug

Affects Versions:

2.9.0

Assignee:

Unassigned

Created:

26/May/16 3:11 PM

Priority:

MediumMedium

Reporter:

Andrea Cappugi

Attempting to do a GetFeatureInfo request fails il SLD_BODY param, contains a raster symbolizer with a ColorMap.
It works if symbolizer contains ChannelSelection or ContrastEnhancement properties.

Exception:
{“version”:“1.1.1”,“exceptions”:[

{“code”:“OperationNotSupported”,“locator”:“QUERY_LAYERS”,“text”:“Either no layer was queryable, or no layers were specified using QUERY_LAYERS”}

]}

Request:
http://localhost:8081/mapstore/proxy/?url=http%3A%2F%2Fdemo.geo-solutions.it%2Fgeoserver%2Fwms%3Fservice%3DWMS%26version%3D1.1.1%26request%3DGetFeatureInfo%26srs%3DEPSG%3A900913%26info_format%3Dtext%2Fplain%26x%3D663%26y%3D190%26exceptions%3Dapplication%2Fjson%26type%3Dwms%26url%3Dhttp%3A%2F%2Fdemo.geo-solutions.it%2Fgeoserver%2Fwms%26visibility%3Dtrue%26opacity%3D1%26title%3DHYP_HR_SR_OB_DR%26name%3Dsde%3AHYP_HR_SR_OB_DR%26group%3DMeteo%26format%3Dimage%2Fpng%26id%3Dsde%3AHYP_HR_SR_OB_DR__10%26loading%3Dfalse%26params%3D%257B%2522SLD_BODY%2522%3A%2522%253Csld%3AStyledLayerDescriptor%2520xmlns%3Asld%3D%255C%2522http%3A%2F%2Fwww.opengis.net%2Fsld%255C%2522%2520xmlns%3Aogc%3D%255C%2522http%3A%2F%2Fwww.opengis.net%2Fogc%255C%2522%2520xmlns%3Agml%3D%255C%2522http%3A%2F%2Fwww.opengis.net%2Fgml%255C%2522%2520version%3D%255C%25221.0.0%255C%2522%253E%253Csld%3ANamedLayer%253E%253Csld%3AName%253Esde%3AHYP_HR_SR_OB_DR%253C%2Fsld%3AName%253E%253Csld%3AUserStyle%253E%253Csld%3AFeatureTypeStyle%253E%253Csld%3ARule%253E%253Csld%3ARasterSymbolizer%253E%253Csld%3AOpacity%253E1.00%253C%2Fsld%3AOpacity%253E%253Csld%3AChannelSelection%253E%253Csld%3AGrayChannel%253E%253Csld%3ASourceChannelName%253E1%253C%2Fsld%3ASourceChannelName%253E%253C%2Fsld%3AGrayChannel%253E%253C%2Fsld%3AChannelSelection%253E%253Csld%3AColorMap%2520type%3D%255C%2522ramp%255C%2522%253E%253Csld%3AColorMapEntry%2520color%3D%255C%2522%23deebf7%255C%2522%2520quantity%3D%255C%25220%255C%2522%2520label%3D%255C%25220.00%255C%2522%2F%253E%253Csld%3AColorMapEntry%2520color%3D%255C%2522%239ecae1%255C%2522%2520quantity%3D%255C%252285%255C%2522%2520label%3D%255C%252285.00%255C%2522%2F%253E%253Csld%3AColorMapEntry%2520color%3D%255C%2522%233182bd%255C%2522%2520quantity%3D%255C%2522170%255C%2522%2520label%3D%255C%2522170.00%255C%2522%2F%253E%253C%2Fsld%3AColorMap%253E%253C%2Fsld%3ARasterSymbolizer%253E%253C%2Fsld%3ARule%253E%253C%2Fsld%3AFeatureTypeStyle%253E%253C%2Fsld%3AUserStyle%253E%253C%2Fsld%3ANamedLayer%253E%253C%2Fsld%3AStyledLayerDescriptor%253E%2522%257D%26layers%3Dsde%3AHYP_HR_SR_OB_DR%26query_layers%3Dsde%3AHYP_HR_SR_OB_DR%26height%3D682%26width%3D697%26bbox%3D-14587853.974169316%2C1506726.7015573941%2C-7768448.058679032%2C8179373.522740141%26feature_count%3D10

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v1000.5.2#72002-sha1:b4422fe)

Atlassian logo