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?
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?
------------------------------------------------------------------------------
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
Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Thanks lot for information,
I was read the above you mentioned link,they are clearly mentioned like
"The request only references a single layer"
So,Now I am using group layer option.
It is working.
There are three criteria when to tile and when not:
the load on the database server when requesting the layer or layer group
the frequency of the user requests for that layer
the requirements for currency or data changes in the layer
That is why Google, Bing, OSM etc. have such a success. 20+ layers are a
huge load on a database, everyone needs a base map as reference and well -
the currency is not so good, but then tiling the entire world is no small
feat. Use tiling strategically and where it makes sense. If you work in the
water business, it may make sense to tile the hydrology layer, or better if
you provide maps for property purposes it can make sense to tile the
cadastre, if the cadastre changes too quickly then tiling may make no sense,
if you're dealing with building permits and you need always the latest
information likewise.
It is all a question of the purpose of your map. Don't tile just because you
can.
-----
____________________________
Dr Christian Maul
Project Manager
Information Services Branch
Department of Sustainability and Environment
Level13, Marland House, 570 Bourke Street
Melbourne 3000