Hello all,
I’ve been playing around with GeoWebCache and the GeoServer 2.2 lastly, but I still have some questions about WMS request : I tiled a layer XXX from a workspace xxx. So now I can perfectly query it with these URL, and have fast raster display :
-
with /gwc
http://myServer/geoserver/gwc/service/wms?LAYERS=xxx:XXX&FORMAT=image/jpeg&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&BBOX=0,-90,180,90&WIDTH=256&HEIGHT=256
The thing is I don’t want to use the workspace name xxx in my WMS query (the GS architecture should be transparent). The query without this statement works, but it doesn’t use the tiled image, even if I use tiled=true (so it’s quite long…). GWC doesn’t recognize the layers if I query only LAYERS=XXX with the /gwc/service/wms URL.
Does tile caching only works with the full workspace-layer name, or is there a trick to have tiled images with something like :
http://myServer/geoserver/wms?LAYERS=XXX&TILED=true&FORMAT=image/jpeg&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&BBOX=0,-90,180,90&WIDTH=256&HEIGHT=256
Thanks for your help.
Gabriel