Now, GeoWebCache works great! I tried to use predefined scales, but it didn't work. Maybe I missed one parameter? I tried with the "scaleDenominators" property.
So, I defined the right resolutions, according the scales defined in my OpenLayers application. To find these resolutions, I used the getResolutionForZoom() method. Then, I put the founded resolutions into the GeoWebCache configuration file. The further problem I encountered was the extent problem. In my GeoWebCache configuration file, I put the maximal extent of the used projection (EPSG:2154), while in my OpenLayers map, I used an other maximal extent. I solved this issue by defining the map extent in my OpenLayers map like the one in my GeoWebCache configuration file. Then, I put a restricted extent in my OpenLayers map, with my previous maximal extent. This way, I keep the previous restricted extent, and I used the right extent to generate the tile (according to GeoWeCache). The only persisting problem is, if I seed tiles in GeoWebCache, I will seed them for the entire extent of my projection! I tried to seed them with a specific extent, but it didn't work. I think, maybe the specified extent was wrong. I don't know how calculate the right bounds for my projection and 256*256 tiles. Could anyone explain this? It should exist a mathematic formula? I've got two others issues: - it would be great to use my personal projection for all the GeoServer layers in the GeoWebCache configuration panel. At this moment, I must specify each layer in the GeoWebCache configuration file, and then, this is detected in the configuration panel. Is there a tip allowing GeoWebCache to get all the WMS GeoServer layers, like for the 4326 projection? - I need to keep some informations from WMS GeoServer layers, like the keywords. The problem is that GeoWebCache don't keep these informations when it create the new WMS layers. I tried to manually put keywords in the GeoWebCache configuration file, but it didn't work. Is there a way to that? I hope these informations would help someone once, and I would get some extra tips! ;) Geoffrey On Wed, 07 Sep 2011 15:06:01 +0200, Stephen V. Mather <s...@clevelandmetroparks.com> wrote: > > -----Original Message----- > From: gbrun [mailto:gb...@myopera.com] > Sent: Wednesday, September 07, 2011 3:50 AM > To: geoserver-users@lists.sourceforge.net; Stephen V. Mather > Subject: Re: [Geoserver-users] Configuration of a new projection in > integrated GeoWebCache > > Thanks for this help! It's clearer for me now! With the GeoWebCache > website, I think I can get some further informations. I only need to > deactivate the GeoWebCache blocking by the server's anti-virus... > > So, if I well understand, I need to calculate appropriate resolutions for > my configuration files, according to the scales I defined in my > OpenLayers > application. I think, I can find theses informations on the internet. > > > -- Yup, that sounds right. BTW, I think you could also specify your > scales > in GWC. > > Steve > > > > > On Tue, 06 Sep 2011 19:32:00 +0200, Stephen V. Mather > <s...@clevelandmetroparks.com> wrote: > >> Hi Geoffrey, >> You could probably get great answers to this from the geowebcache >> group, but to get you jump started, I've attached an example geowebcache >> file which uses a few different tile sizes, as well as a single set of >> resolutions. >> >> Best, >> Steve >> >> Stephen Mather >> Geographic Information Systems (GIS) Manager >> (216) 635-3243 >> s...@clevelandmetroparks.com >> clevelandmetroparks.com >> >> >> >> -----Original Message----- >> From: gbrun [mailto:gb...@myopera.com] >> Sent: Tuesday, September 06, 2011 10:49 AM >> To: geoserver-users@lists.sourceforge.net >> Subject: [Geoserver-users] Configuration of a new projection in >> integrated >> GeoWebCache >> >> Hi everybody! >> >> I'm trying to use the integrated GeoWebCache function of GeoServer. >> >> After many tries, it works fine for predefined SRS. Then, I added a >> French >> SRS (EPSG:2154) and there some stuffs I don't understand. I don't >> understand how work resolution, scale and extents. How can I define the >> good parameters? >> >> Is the extend of the gridSet the maximal extent of the projection, or >> either the maximal extent of an OpenLayers map for example? For the >> resolutions, I've also a problem. I've got an OpenLayers map that uses >> predefined scales instead of predefined resolutions. Is there a way to >> use >> these scales in the GeoWebCache configuration, and not resolutions >> values? >> >> Any help would be great! >> >> Geoffrey >> >> > ---------------------------------------------------------------------------- >> -- >> Special Offer -- Download ArcSight Logger for FREE! >> Finally, a world-class log management solution at an even better >> price-free! And you'll get a free "Love Thy Logs" t-shirt when you >> download Logger. Secure your free ArcSight Logger TODAY! >> http://p.sf.net/sfu/arcsisghtdev2dev >> _______________________________________________ >> Geoserver-users mailing list >> Geoserver-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/geoserver-users >> > > -- Using Opera's revolutionary email client: http://www.opera.com/mail/ ------------------------------------------------------------------------------ Using storage to extend the benefits of virtualization and iSCSI Virtualization increases hardware utilization and delivers a new level of agility. Learn what those decisions are and how to modernize your storage and backup environments for virtualization. http://www.accelacomm.com/jaw/sfnl/114/51434361/ _______________________________________________ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users