Hi Andrea: It seems my reply got gobbled by a bad email program.
> a long long time ago, in a svn revision far away, Lisasoft contributed
> an aggregating WFS data store:
> http://svn.osgeo.org/geotools/branches/2.4.x/modules/unsupported/aggregating-wfs/src/main/java/org/geotools/data/aggregating/
>
Did you want me try and round up a contact for you from our Adelaide office.
> Today I need something quite similar, yet, different enough that I'll
> have to reimplement it from scratch.
Fun ...
> I need an aggregating data store that:
> - can aggregate from any store, not just WFS (the use case is actually local
> database + various remote wfs)
> - still works on simple features only
> - has a target schema (the first one in list) and can aggregate the others
> with some leeway on schema differences (ignore extra attributes, nullify
> missing ones, eventually accept case differences in attribute names)
I imagine the use of Expression here (as with uDig "re-shape" operation which
allows you to transform from one feature type to another for simple features).
I think the same idea is in play for the Join proposal.
> - can tolerate some of the stores being unavailable
Will you cache results in like a local H2 datastore or something? Or just have
less content when the datastore is MIA.
> - can get features in parallel from the sources and merge them in a single
> response (this one has still the jury out, it might be done in a purely
> sequential way too)
See above about using a local H2 datastore as a "staging area".
> - is purely read only
:-)
> - assumes there are no feature duplicates around
Could always make the feature id more interesting in order to avoid the
appearance of duplication.
> - the configuration would be programmatic, plus an eventual xml config file
> (likely xstream based for read/writes)
>
Fun.
> The code would be based on content data store this time.
> Of course the code would be developed in unsupported and then eventually
> migrated to supported status.
+1 on the creation of an unsupported module (based on this email). What did you
want to call the module. gt-data-aggregate
> Opinions?
Sounds like a great bit of work; did you want the link to the udig "reshape
operation"? Or did you want me to back port it as a gt-process...
Jody
------------------------------------------------------------------------------
Got Input? Slashdot Needs You.
Take our quick survey online. Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel