Hi, Most often caching does not happen because requests which are sent by the client does not suit with the tiles of the requested gridset. Unfortunately I can't read the code well enough to understand even which projection your client is using for GetMap calls.
-Jukka Rahkonen- > -----Alkuperäinen viesti----- > Lähettäjä: Pena Kupen [mailto:[email protected]] > Lähetetty: 3. heinäkuuta 2014 21:22 > Vastaanottaja: [email protected] > Aihe: [Geoserver-users] geoserver cannot cache with gwc > > Hi, > > I'm not sure, if this it geoserver case or geowebcache case, but... > > My layer has following definitions (automatically coming from WMS server, > when creating store) Native SRS > EPSG:3067 > Declared SRS > EPSG:3067 > SRS handling > force declared > > Bounding Boxes > Native Bounding Box > 56.000 6,594.000 740.000 7,782.000 > Lat/Lon Bounding Box > 22.5 56.25 28.125 61.875 > > All seems to work with my app, when not caching (TILED: false). When I try to > use with GWC, caching is not happening (TILED: true). > I'm using layer with Openlayers with following: > > MAP_TILE = new OpenLayers.Layer.WMS("Map tile", > > "http://localhost:8080/geoserver/wms", > > {layers: 'MAP_WMS:base', > format:'image/png', transparent: true, TILED: true}, > > {opacity: 1.0, isBaseLayer: true, > visibility: true, minScale: 100000, maxScale: 10000} > > ); > var asteet = new OpenLayers.Projection("EPSG:4326"); > var mercator = new OpenLayers.Projection("EPSG:900913"); > var suomi = new > OpenLayers.Bounds(18.61,59.57,31.85,70.23).transform(asteet, mercator); > > > var map = new OpenLayers.Map('map', { > > projection: mercator, > > units: "m", > > maxExtent: suomi, > > restrictedExtent :suomi > }); > > > Any idea, how to get GWC working. > > --kupen > > -- > 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 > [email protected] > https://lists.sourceforge.net/lists/listinfo/geoserver-users ------------------------------------------------------------------------------ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
