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 Catalog.  When the Hibernate 
extension is released, I will move to that.

Since GeoServer already contains code that creates and configures the various 
ResourceInfo implementations, it would be very groovy if I could examine this 
code.  Any pointers?

Thanks!

Greg


On Nov 27, 2009, at 11:53 AM, Justin Deoliveira wrote:

> 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 functionality.
> 
> http://svn.codehaus.org/geoserver/trunk/src/extension/restconfig/
> 
> Hope that helps.
> 
> -Justin
> 
> Greg Ederer wrote:
>> 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 able to create namespaces and workspaces, coverage and data stores, 
>> coverages and feature resources, and styles programmatically.  I know that 
>> GeoServer reads, for example, GeoTIFF headers, and configures many 
>> properties of CoverageStoreInfo automatically.  It would be really cool if I 
>> could take advantage of these kinds of facilities in my code.
>> I've been perusing the GeoServer sources looking for code that creates new 
>> Catalog entries, configures and persists them.  But, I can't seem to find a 
>> service layer where this code resides.  Any suggestions as to where I might 
>> look for this code?
>> Thanks!
>> Greg
>> ------------------------------------------------------------------------------
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
>> trial. Simplify your report design, integration and deployment - and focus 
>> on what you do best, core application coding. Discover what's new with
>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>> _______________________________________________
>> Geoserver-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
> 
> -- 
> Justin Deoliveira
> OpenGeo - http://opengeo.org
> Enterprise support for open source geospatial.


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to