Re: [Geoserver-devel] Direct manipulation of the Catalog

2009-12-02 Thread Greg Ederer
Hi, Just to let you know, the below was not working due to a bug in my code (got the wrong styleName). Working fine now. Thanks for all your help! Cheers, Greg On Dec 2, 2009, at 9:50 AM, Greg Ederer wrote: > Hi Andrea, > > Thanks for the pointer. I'm almost there. The one question I ha

Re: [Geoserver-devel] Direct manipulation of the Catalog

2009-12-02 Thread Greg Ederer
Hi Andrea, Thanks for the pointer. I'm almost there. The one question I have is how to create a new Style. I'm using the following code: style = factory.createStyle(); style.setName(styleName); style.setFilename(styleName + ".sld"); catalog.add(style); The .sld files

Re: [Geoserver-devel] Direct manipulation of the Catalog

2009-11-28 Thread Andrea Aime
Greg Ederer ha scritto: > Hi Justin, > > Thanks for the response. I implemented a solution using REST with > GeoServer 1.7.x. Unfortunately, with the volume of data that we have > to process, this is just too inefficient. This is why I have decided > to replace this system with one that directl

Re: [Geoserver-devel] Direct manipulation of the Catalog

2009-11-27 Thread Greg Ederer
Hi Justin, Thanks for the response. I implemented a solution using REST with GeoServer 1.7.x. Unfortunately, with the volume of data that we have to process, this is just too inefficient. This is why I have decided to replace this system with one that directly manipulates the GeoServer 2.0 C

Re: [Geoserver-devel] Direct manipulation of the Catalog

2009-11-27 Thread Justin Deoliveira
Hi Greg, Have you considered using the restconfig extension? http://docs.geoserver.org/1.7.x/en/user/extensions/rest/index.html It allows you to modify the catalog via HTTP requests. Regardless if that works for you the restconfig code serves as a good example of how to use the catalog CRUD fu

[Geoserver-devel] Direct manipulation of the Catalog

2009-11-27 Thread Greg Ederer
Hi, I'm working on a system that automatically updates our datasets in GeoServer. I'm implementing this using Spring within the GeoServer application context. So far, I've managed to instantiate my bean, inject it with the running GeoServer instance, and access the Catalog. My goal is to be