Hello again everyone,
I’m wondering if there’s a method to reseed geowebcache in an automated fashion. I have a good deal of dynamic data that I would like to serve up dynamically and refresh incrementally (one layer would need to be refreshed annually, for instance, and another daily). Is there a means through which I can do this? I tried to go through the gwc demos to do a reseed and truncate, but old images were still served up (this was after I modified an sld to change the opacity of the images). I ended up wiping the gwc folder and starting again in the end because the internal database was skewed. What’s the best way to do this so that I don’t have to go through a huge effort and reseed tiles that don’t need to be reseeded?
Thanks for your help…
Aaron
Truncation didn't make it into 1.1.0 (regression in features, if you like), so you can unfortunately not use the RESTful interface for this. I'm thinking I may push out 1.1.1 over the weekend, I'll have a look whether I have all the pieces for truncate, but no promises.
If it's an entire layer you could just delete the files based on the directory name (have a look, it should be quite intuitive), and leave the database alone. GWC should detect that the actual data is gone and fetch it again on the next request, or you can kick the seeder per instructions on geowebcache.org.
-Arne
Aaron_Gundel@anonymised.com wrote:
Hello again everyone,
I'm wondering if there's a method to reseed geowebcache in an automated fashion. I have a good deal of dynamic data that I would like to serve up dynamically and refresh incrementally (one layer would need to be refreshed annually, for instance, and another daily). Is there a means through which I can do this? I tried to go through the gwc demos to do a reseed and truncate, but old images were still served up (this was after I modified an sld to change the opacity of the images). I ended up wiping the gwc folder and starting again in the end because the internal database was skewed. What's the best way to do this so that I don't have to go through a huge effort and reseed tiles that don't need to be reseeded?
Thanks for your help....
Aaron
--
Arne Kepp
OpenGeo - http://opengeo.org
Expert service straight from the developers