I wanted to use the org.geotools.data.Repository (life would be easier) but this would not work for geoserver. So I introduced the DataStoreLookup interface.
I did a special implementation for the geoserver catalog, look here. Perhaps we have to do something similar for UDIG. https://svn.codehaus.org/geoserver/branches/1.7.x/src/community/feature-preg eneralized/src/main/java/org/geoserver/data/gen/DataStoreLookupCatalog.java But I agree on supporting the geotools registry. There is a simple class DataStoreLookupImpl which I could rename to DataStoreLookupRegistry.This new Implementation uses a Registry object to find the datastore. (It is a pity that the Repository interface has no getter method datastore(id), the DefaultRepository has it but I cannot use it ). About locking, I have no idea how to use it. Perhaps you can give me a code snippet. Last question, where would be the best place for this module, "extension","library" or "plugin". I think the best place would be library, but thats your decision. Jody Garnett writes: > Thanks - excellent job on the documentation. I do see a conflict > between "org.geotools.data.gen.DataStoreLookup" and Repository. Is > this something we can do as the module moves to supported? > > The docs for repository are here: > http://docs.codehaus.org/display/GEOTDOC/Managing+DataStores+using+Repository+or+Catalog > > > I would be willing to simplify repository to match DataStoreLookup; I > am not sure you care to ask about locks after all. > > Jody > > On Tue, May 12, 2009 at 6:52 PM, Christian Müller > <[email protected]> wrote: >> >> >> The modul matrix page is here >> http://docs.codehaus.org/display/GEOTOOLS/Feature-Pregeneralized >> >> At the moment, the module/documentation is located in the unsupported >> branches. >> >> >> >> ------------------------------------------------------------------------------ >> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your >> production scanning environment may not be a perfect world - but thanks to >> Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 >> Series Scanner you'll get full speed at 300 dpi even with all image >> processing features enabled. http://p.sf.net/sfu/kodak-com >> _______________________________________________ >> Geotools-devel mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/geotools-devel >> ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
