On Tue, Feb 7, 2012 at 7:23 PM, Alessandro Ferrucci <[email protected]> wrote: > Hello, > > This may (or may not) be the correct mailing list for it, if so please let > me know. > I have a geoserver instance, with embedded GWC. I have a google maps client > with WMS overlays being served from the geoserver. As long as I use 256x256 > pixel tiles...GWC caches things fine... I was testing using larger size > tiles (1024x1024) because google maps client API zoom responds in a much > smoother fashion when there are less requests being made from the viewport. > The tiles come back fine from geoserver (they are 1024x1024 and the map > looks exactly as with the 256x256 tiles are being used) for the exception > that GWC is not caching any tiles, as soon as I revert the code to use > 256x256 pixel tiles, embedded GWC works as expected again. I thought I > would ask here before doing any more in-depth investigation to see if anyone > has by any chance already tackled and solved this particular issue.
The standard grid sets are based on 256x256 tiles, so only that size will be cached. In a standalone GWC it's possible to setup your own gridsets: http://geowebcache.org/docs/current/concepts/gridsets.html Not sure if it's possible to setup a gridset with a different tile size with an embedded GWC in the current stable series though, I believe this is available only on trunk. Gabriel should know more 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 mob: +39 339 8844549 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 ------------------------------------------------------- ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
