Re: [Geotools-devel] BaseFeatureCollection vs ProcessingCollection

2012-11-04 Thread Jody Garnett
Okay they are all handled the same now… and throw IOExceptions like it says on the tin. Additional utility method: - DataUtilities.visit( FeatureCollection, FeatureVisitor, ProgerssListener ) -- LogMeIn Central: Instant,

Re: [Geotools-devel] BaseFeatureCollection vs ProcessingCollection

2012-11-04 Thread Jody Garnett
Andrea they are all now consistent, and throw an IOException at the first sign of trouble. Jody-- LogMeIn Central: Instant, anywhere, Remote PC access and management. Stay in control, update software, and manage PCs from

Re: [Geotools-devel] BaseFeatureCollection vs ProcessingCollection

2012-11-04 Thread Andrea Aime
On Sun, Nov 4, 2012 at 12:58 PM, Jody Garnett wrote: > Yes - Processing collection throws IOExceptions, BaseFeatureCollection > follows the "keep calm and carry on" moto. > > I was probably too quick in my evaluation, it calls > progress.exceptionOccured( exception ) alloying the client code to de

Re: [Geotools-devel] BaseFeatureCollection vs ProcessingCollection

2012-11-04 Thread Jody Garnett
> > Yes - Processing collection throws IOExceptions, BaseFeatureCollection > > follows the "keep calm and carry on" moto. > > > I was probably too quick in my evaluation, it calls progress.exceptionOccured( exception ) alloying the client code to decide what to do … > I believe this is a re

Re: [Geotools-devel] BaseFeatureCollection vs ProcessingCollection

2012-11-04 Thread Jody Garnett
> Other things noticed: > - is there any difference between the accepts method in the processing > collection > and the one in base collection? Yes - Processing collection throws IOExceptions, BaseFeatureCollection follows the "keep calm and carry on" moto. > - BaseFeatureCollection can use so

Re: [Geotools-devel] BaseFeatureCollection vs ProcessingCollection

2012-11-04 Thread Andrea Aime
On Sun, Nov 4, 2012 at 9:05 AM, Andrea Aime wrote: > Btw, ProcessingCollection has its own WrappingIterator which I guess could > be now replaced with BridgeIterator, if I got the right idea about > what BridgeIterator > is. Other things noticed: - is there any difference between the accepts meth

Re: [Geotools-devel] BaseFeatureCollection vs ProcessingCollection

2012-11-04 Thread Andrea Aime
On Sun, Nov 4, 2012 at 9:47 AM, Jody Garnett wrote: > Other things noticed: > - is there any difference between the accepts method in the processing > collection > and the one in base collection? > > Yes - Processing collection throws IOExceptions, BaseFeatureCollection > follows the "keep calm an

Re: [Geotools-devel] BaseFeatureCollection vs ProcessingCollection

2012-11-04 Thread Andrea Aime
On Sun, Nov 4, 2012 at 8:24 AM, Jody Garnett wrote: > I had a go and ProcessingCollection extends BaseFeatureCollection, and > arrived at one critical implementation difference. > ProcessingFeatureCollection takes care to lazily create the schema; I can > image for some process this work can be >

Re: [Geotools-devel] BaseFeatureCollection vs ProcessingCollection

2012-11-04 Thread Jody Garnett
I had a go and ProcessingCollection extends BaseFeatureCollection, and arrived at one critical implementation difference. ProcessingFeatureCollection takes care to lazily create the schema; I can image for some process this work can be fairly significant. Additional helper methods: - DataUtilit