[Geoserver-users] custom datastore + multi-threading.

Dear all,

I've got a general question: from a custom datastore, is it possible to query different data sources simultaneously and then create a combined output?

The background is that I'd like to retrieve measurements from different sensors in parallel and then "fuse" them into a single response.

I guess in practice, I would have to add another input parameter (a second URL) in the DataStoreFactory to appear in the Feature Data Set Editor. The question is just whether (and if yes, how) I can query these URLs in parallel.

Thank you,
Bernd.

Bernd Resch wrote:

Dear all,

I've got a general question: from a custom datastore, is it possible to query different data sources simultaneously and then create a combined output?
  

yes.

The background is that I'd like to retrieve measurements from different sensors in parallel and then "fuse" them into a single response.
  

understood.

I guess in practice, I would have to add another input parameter (a second URL) in the DataStoreFactory to appear in the Feature Data Set Editor. The question is just whether (and if yes, how) I can query these URLs in parallel.
  

You would still have a single entry; the entry would be using data from a number of sources - but that is only of interest to the person writing it.

Jody