Hello,

 

I'm having a hard time selecting a style which is assigned to a workpace on
a WMS request. For some reason when I add the workspace into the "styles"
parameter it doesn't work. I'm pretty sure I'm missing something here so I
request your help.

I need this because I want to give the option for the user to create new
layers in a separate workspace but still use the default styles available.
Cloning the available styles into the temporary workspace is a solution, but
isn't pretty.

 

Working WMS Request: (notice styles parameter with no workspace prefix)

 

geoserver/my_tmp_workspace/wms?service=WMS&version=1.1.0&request=GetMap&laye
rs=my_tmp_workspace:tmp_20150220144548769&styles=mi_tmp_polygon&bbox=-9.2109
203338623,38.7190681092663,-9.16414260864258,38.7726885559786&width=446&heig
ht=512&srs=EPSG:4326&format=application/openlayers

 

Non-working WMS Request: notice styles parameter with a workspace prefix)

geoserver/my_tmp_workspace/wms?service=WMS&version=1.1.0&request=GetMap&laye
rs=my_tmp_workspace:tmp_20150220144548769&styles=my_tmp_request:mi_tmp_polyg
on&bbox=-9.2109203338623,38.7190681092663,-9.16414260864258,38.7726885559786
&width=446&height=512&srs=EPSG:4326&format=application/openlayers

 

Thank you for your time and help,

Cosme

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to