Okay page is up:
- 
http://docs.geotools.org/latest/userguide/guide/library/data/pregeneralized.html

I swapped it around so that connection params and a code example are at the top 
(like all the other plugins).

I also changed your connection params so that the strings are shown; as if they 
need to depend on your static final Param.key entries then
the point of having a plugin system has fallen over (ie they just had to depend 
on your code directly).

I was also able to offer a download link to the streams.shp you use in your 
examples.

And a picture :-)


-- 
Jody Garnett

On Monday, 4 April 2011 at 11:21 PM, Jody Garnett wrote: 
> Thanks for getting back to me; i will have the docs up in a moment (well a 
> moment after sphinx stops yelling at me about table formatting).
> 
> I do see what you have done there, it does depend on having a magic 
> implementation that can refer to a single global catalog.
> 
> If you had a couple of catalogs (that implemented Repository) there would be 
> know way to configure your datastore using the factory in order to use one of 
> them right?
> 
> In uDig I have a repository around already (since validation code uses it), I 
> would like to be able to pass that in....
> 
> -- 
> Jody Garnett
> 
> On Monday, 4 April 2011 at 9:27 PM, [email protected] wrote:
> > 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