Thanks for clarifying what I had to do again Andrea. I think I'm already
close to getting something running. The only thing that I haven't figured
is how I could create a SimpleFeatureType object out of a
DescribeFeatureType xsd document. Is there a utility class I can use which
reads/parses a DescribeFeatureType document and outputs a SimpleFeatureType
schema?
AbstractFeatureCollection requires a SimpleFeatureType schema object as one
of its constructor arguments.
Kind regards,
Logan
On Fri, Nov 30, 2012 at 6:09 PM, Andrea Aime
<[email protected]>wrote:
> On Fri, Nov 30, 2012 at 5:19 AM, Martin Logan <[email protected]
> > wrote:
>
>> Thanks a lot for the tip Andrea,
>>
>> May I ask, once I've implemented the new FeatureCollection, how do I wire
>> it to the StreamingParser so that its parse() method would return my FC
>> implementation?
>>
>
> Hmm... you don't, I believe it should be the other way around,
> the feature collection owns a URL where it can fetch the data, and uses
> the streaming
> parser to fetch and parse it every time a feature iterator is being asked.
>
> Cheers
> Andrea
>
> --
> ==
> Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
> information.
> ==
>
> Ing. Andrea Aime
> @geowolf
> Technical Lead
>
> GeoSolutions S.A.S.
> Via Poggio alle Viti 1187
> 55054 Massarosa (LU)
> Italy
> phone: +39 0584 962313
> fax: +39 0584 1660272
> mob: +39 339 8844549
>
> http://www.geo-solutions.it
> http://twitter.com/geosolutions_it
>
> -------------------------------------------------------
>
>
------------------------------------------------------------------------------
Keep yourself connected to Go Parallel:
BUILD Helping you discover the best ways to construct your parallel projects.
http://goparallel.sourceforge.net
_______________________________________________
GeoTools-GT2-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users