Hi Jody, nice idea.

I hope I understand your problem correctly. For geoserver, I did it this way

https://svn.codehaus.org/geoserver/trunk/src/extension/feature-pregeneralized/src/main/java/org/geoserver/data/gen/DSFinderRepository.java

The instantiated object of type Repository is a wrapper for the  
geoserver global catalog object. Can you construct such a wrapper for  
UDIG.

The most common use case I saw on the mailing list is described in  
this unofficial tutorial (postgis)

http://osgeo-org.1803224.n2.nabble.com/attachment/6137141/0/pregen_tutorial.html

I hope to get time and make an official one for geoserver, There is a  
tutorial for shape files.
http://docs.geoserver.org/stable/en/user/tutorials/feature-pregeneralized/feature-pregeneralized_tutorial.html

Does this answer your question ?


Quoting Jody Garnett <[email protected]>:

> Going over the docs at present and run into a design issue.
>
> The factory takes classname for two key classes:
> * Repository
> * GeneralizationInfosProvider
>
> And then relies on reflection, and a no argument constructor, to   
> create the class internally.
>
> This works fine for GeneralizationInfosProvider I guess, but for   
> Repository the point is to stick a new instance (from the users   
> application)
> into the PreGeneralizedDataStore so it can look up featureSource   
> instances in its environment.
>
> Christian can I ask you to review the docs when done; and confirm   
> how you expect PreGeneralizedDataStore to work? I really like the   
> setup
> and would love to make a wizard for uDig to allow people to prep   
> their data for fast display.
>
> --
> Jody Garnett
>
>



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to