The main benefit of caching is that the tiles are ready to go.
Decompressing and recompressing images on the other hand is very
expensive. For two layers you typically need to decompress 9x2 = 18
tiles (3 x 3 screen, 2 layers) and then recompress 9 composited tiles.
Instead, create a layer group in GeoServer (consisting of X and y) and
use that in the client.
-Arne
On 12/26/12 04:14 , mano3688 wrote:
> I have using Geoserver 2.2.2.
> I have using geowebcache layer in my application.
> Geowebcache layer is loading on map if I request single layer in single
> request.
> (E.g)I have tried like this request
> layer: new OpenLayers.Layer.WMS('X','/geoserver/gwc/service/wms', {
> layers: 'tvkarta:X',
> transparent: true,
> format:'image/png',
> exceptions: 'application/vnd.ogc.se_xml'
> }
> Geowebcache layer is not loading on map if I request muliple layer in single
> request.
> (E.g)I have tried like this request
> layer: new OpenLayers.Layer.WMS('X','/geoserver/gwc/service/wms', {
> layers: 'tvkarta:X,tvkarta:Y',
> transparent: true,
> format:'image/png',
> exceptions: 'application/vnd.ogc.se_xml'
> }
> (E.g)I have tried like this request
>
> layer: new OpenLayers.Layer.WMS('X','/geoserver/gwc/service/wms', {
> layers: ['tvkarta:X','tvkarta:Y'],
> transparent: true,
> format:'image/png',
> exceptions: 'application/vnd.ogc.se_xml'
> }
> It is throws 400 not found error in my application.
> I have seen in geoserver logs, It is throws error like
> ERROR [geowebcache.GeoWebCacheDispatcher] - Thread 71 Unknown layer .
> I have tried in geoserver demo page also.
> It is also throws same above mentioned error.
>
> How can I requets multiple Geowebcache layer in single request?
> Shall I want to configure anything in geowebcache.xml file?
>
> Thanks,
> Mano G
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.n6.nabble.com/How-can-I-requets-multiple-Geowebcache-layer-in-single-request-tp5024598.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
> Remotely access PCs and mobile devices and provide instant support
> Improve your efficiency, and focus on delivering more value-add services
> Discover what IT Professionals Know. Rescue delivers
> http://p.sf.net/sfu/logmein_12329d2d
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
------------------------------------------------------------------------------
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users