|
Issue Type:
|
Bug
|
Affects Versions:
|
2.3.3
|
Assignee:
|
Andrea Aime
|
Components:
|
WMS
|
Created:
|
25/Jun/13 1:22 AM
|
Description:
|
Issuing a WMS request to a WMS cascaded layer with a STYLES parameter:
http://cardinia.pozi.com/geoserver/VICMAP/ows?LAYERS=VMADMIN.PARISH_POLYGON&FORMAT=image%2Fpng8&TRANSPARENT=TRUE&VERSION=1.1.1&SERVICE=WMS&REQUEST=GetMap&STYLES=polygon&TILED=true&SRS=EPSG%3A900913&BBOX=16188104.979723,-4597775.8029457,16244209.758477,-4579354.4791315&WIDTH=734&HEIGHT=241
… produces the following DEBUG GeoServer trace:
2013-06-25 05:56:43,045 DEBUG [geoserver.ows] - Getting layers and styles from LAYERS and STYLES
2013-06-25 05:56:43,045 DEBUG [geotools.styling] - number of fts set 1
2013-06-25 05:56:43,045 DEBUG [geoserver.ows] - establishing polygon style for VICMAP:VMADMIN.PARISH_POLYGON
2013-06-25 05:56:43,046 DEBUG [geoserver.wms] - setting up map
2013-06-25 05:56:43,047 DEBUG [wms.map] - setting up 734x241 image
2013-06-25 05:56:43,048 DEBUG [geotools.map] - Issuing request: http://services.land.vic.gov.au/catalogue/httpproxy/sdm_geoserver/ows?SERVICE=WMS&LAYERS=sii%3AVMADMIN.PARISH_POLYGON&CRS=EPSG:900913&FORMAT=image%2Fpng&HEIGHT=251&TRANSPARENT=TRUE&REQUEST=GetMap&BBOX=1.6187378827954385E7,-4598578.391742583,1.624501234727389E7,-4578628.32736289&WIDTH=744&STYLES=&VERSION=1.3.0
Conversely:
http://cardinia.pozi.com/geoserver/VICMAP/ows?LAYERS=VMADMIN.PARISH_POLYGON&FORMAT=image%2Fpng8&TRANSPARENT=TRUE&VERSION=1.1.1&SERVICE=WMS&REQUEST=GetMap&STYLES=polygon_test&TILED=true&SRS=EPSG%3A900913&BBOX=16188104.979723,-4597775.8029457,16244209.758477,-4579354.4791315&WIDTH=734&HEIGHT=241
… produces:
2013-06-25 06:17:36,101 ERROR [geoserver.ows] -
org.geoserver.platform.ServiceException: No such style: polygon_test
at org.geoserver.wms.map.GetMapKvpRequestReader.parseStyles(GetMapKvpRequestReader.java:1374)
at org.geoserver.wms.map.GetMapKvpRequestReader.read(GetMapKvpRequestReader.java:309)
at org.geoserver.wms.map.GetMapKvpRequestReader.read(GetMapKvpRequestReader.java:79)
…
There seem to be a couple of issues here:
- the style in STYLES parameter is required on the cascading server
- the STYLES parameter value is not passed to the target server
In the same order of ideas, the SLD parameter is not passed to the target server. With both STYLES and SLD parameters ignored, it seems there is no way to remote-style a cascaded layer.
Is that true?
Is there a reason why STYLES and SLD parameter values should not be passed upstream to the target server?
Cheers,
Herve
|
Environment:
|
Ubuntu 12.04
|
Project:
|
GeoServer
|
Priority:
|
Minor
|
Reporter:
|
Herve Senot
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: [http://www.atlassian.com/software/jira](http://www.atlassian.com/software/jira)