2011/7/1 Andrés Maneiro <[email protected]>
> Hello,
>
> I'm in doubts about how to use geowebcache embebbed in geoserver.
>
> After reading the manual, if I got it right, in the geoserver backend
> you should activate the option "Enable direct WMS integration". That,
> under certain conditions described there, will enable geowebcache
> support: http://docs.geoserver.org/stable/en/user/geowebcache/using.html
>
> I build my OL request with something like:
>
> new OpenLayers.Layer.WMS(
> layer_params.title,
> urlOfWMSGeoserver, //something like myserver:8080/geoserver/wms
> {layers: layer_params.name, format: "image/png", transparent: true},
> {isBaseLayer: false, singleTile: true, visibility: true,
> 'reproject': true, 'tiled': true});
>
This does not guarantee the tiles asked by OL line up with the ones
from GeoWebCache.
It's generally easier to start from the GWC demos using OL, they
are already setup to hit GWC tiles in an exact manner.
Cheers
Andrea
--
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 962313
http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf
-------------------------------------------------------
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users