Hello again,
On Geoservers log, gwc says flollowing, aboun 30 times:
2014-07-07 17:49:02,980 ERROR [geowebcache.GeoWebCacheDispatcher] - Requested horizontal resolution: 3.5277758726551838 , best match: 2.388657133579254 exceeds 10% threshold. Perhaps the client is configured with an incorrect set of scales (resolutions), or the DPI setting is off compared to the one in GWC ? http://localhost:8080/geoserver/gwc/service/wms
That's maybe reason, why gwc is not caching.
How to fix this?
--kupen
Pena Kupen [kupen@anonymised.com] kirjoitti:
Kevin and Jukka and all,
>First off, if you want to use the standard GeoServer WMS endpoint with
>caching, you need to make sure that you have Direct Integration enabled.
>
Yeps, it is enabled.>Second, you need to make sure the layer is configured for caching and that
>you have set it up with the correct format, gridset, parameter filters, et
>to handle your request. If anything doesn't match, it will fall back to
>using GeoServer's WMS service directly without any caching.
>
Should be. Declared SRS is EPSG:3067 and on Openlayers I use EPSG:900913.>OpenLayers isn't able to read the gridset information from a WMS-C
>GetCapabilities document so if you give it a layer using a custom gridset
>it will simply guess how the tiles are laid out and make requests on that
>basis. If it guesses wrong, then the requests won't line up with the cache
>and GWC won't be able to handle it. If you're using GWC directly you'll
>get an error, while if you're using the regular GeoServer WMS endpoint with
>Direct Integration enabled, it will fall back to using the WMS without
>caching.
>
Yep. That's how I have understand it.>The GWC endpoints are /geoserver/gwc/service/wms
>
I must try this>In order to use any gridset other than the standard Web Mercator or WGS84
>ones you have to tell OpenLayers the exact parameters of that gridset, at
>least if you're using WMS-C. >
I suppose, I use Mercator.
>projection: mercatorI noticed one more thing more. When using this layer, there is maybe 5 different resolution. When draging tiles on levels 2-5, there is no caching, but on level 1 gwc is caching tiles?!
--kupen
--
Wippies-vallankumous on täällä! Varmista paikkasi vallankumouksen eturintamassa ja liity Wippiesiin heti!
http://www.wippies.com/--
Wippies-vallankumous on täällä! Varmista paikkasi vallankumouksen eturintamassa ja liity Wippiesiin heti!
http://www.wippies.com/------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
Wippies-vallankumous on täällä! Varmista paikkasi vallankumouksen eturintamassa ja liity Wippiesiin heti!
http://www.wippies.com/