[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
Re: Revised: StationProfileFeatureCollection does not implement getPointFeatureCollec,tionIterator()
- Subject: Re: Revised: StationProfileFeatureCollection does not implement getPointFeatureCollec,tionIterator()
- Date: Tue, 01 Feb 2011 14:10:11 -0700
Hi Bob:
On 1/31/2011 10:26 AM, Bob Simons wrote:
Please ignore my previous email.
If I use
NestedPointFeatureCollection npfc =
(NestedPointFeatureCollection)stationProfileFeatureCollection;
PointFeatureCollection pfc = npfc.flatten(latLonRect, dateRange);
A call to pfc.resetIteration() throws
Exception in thread "main" java.lang.UnsupportedOperationException:
StationProfileFeatureCollection does not implement getPointFeatureCollec
tionIterator()
Why not?
That seems to be the best (only?) way to specify a latLonRect and
dateRange, and I *want* flattened data.
Im not sure why thats failing, it may be the implementation is not
complete or something deeper. Can you send me a sample file?
Perhaps I'm making a mistake.
Just curious (I have to ask, because one time, for other code, the
answer was 'no'), is all of the Point Feature Collection code finished
and ready to be used?
Im thinking the iteration should work the first time through, ie without
calling resetIteration(), just start calling pfc.hasNext() / next() ??