Re: [Geotools-devel] feature collection and rendering

2010-05-25 Thread Jody Garnett
> Correct, the *plan* does not account for a pure memory feature collection. > Although could this could possibly just be a ContentFeatureCollection wrapped > around a FeatureStore from a MemoryDataStore? ContentDataStore is in the data module; I need this in main. So I stole the interesting

Re: [Geotools-devel] feature collection and rendering

2010-05-25 Thread Justin Deoliveira
On 10-05-25 9:41 AM, Andrea Aime wrote: > Justin Deoliveira ha scritto: > >> To me a feature collection should just be a convenience wrapper. >> Having a custom one for the purposes of rendering is a different >> story, don't know much about that use case. > > Afaik Jody is after the "toy daset in

Re: [Geotools-devel] feature collection and rendering

2010-05-25 Thread Andrea Aime
Justin Deoliveira ha scritto: > To me a feature collection should just be a convenience wrapper. Having > a custom one for the purposes of rendering is a different story, don't > know much about that use case. Afaik Jody is after the "toy daset in memory" case that many users seem to be playing

Re: [Geotools-devel] feature collection and rendering

2010-05-25 Thread Justin Deoliveira
On 10-05-25 2:46 AM, Jody Garnett wrote: > On 25/05/2010, at 6:37 PM, Andrea Aime wrote: > >> Lost you there > > Implementation details - don't matter unless you review the code. >> >> Ah, so that you can pass down to a smarter collection the work of filtering. > > Actually I am constructing an in

Re: [Geotools-devel] feature collection and rendering

2010-05-25 Thread Jody Garnett
On 25/05/2010, at 6:37 PM, Andrea Aime wrote: > Lost you there Implementation details - don't matter unless you review the code. > > Ah, so that you can pass down to a smarter collection the work of filtering. Actually I am constructing an in memory feature source / feature collection combo.

Re: [Geotools-devel] feature collection and rendering

2010-05-25 Thread Andrea Aime
Jody Garnett ha scritto: > HI Andrea: > > I have been finally responding to a long standing wish/issue on the user list > a replacement for DefaultFeatureCollection. > > I have done two implements: > - TreeSetFeatureCollection (a straight up copy of DefaultFeatrueCollection so > we can pre

[Geotools-devel] feature collection and rendering

2010-05-24 Thread Jody Garnett
HI Andrea: I have been finally responding to a long standing wish/issue on the user list a replacement for DefaultFeatureCollection. I have done two implements: - TreeSetFeatureCollection (a straight up copy of DefaultFeatrueCollection so we can preserve it for test cases) - ListFeatureCol