Re: [Geotools-devel] Extending process annotations to allow generic metadata specification

2014-06-05 Thread Andrea Aime
On Tue, Jun 3, 2014 at 7:33 PM, Andrea Aime wrote: > On Tue, Jun 3, 2014 at 3:57 PM, Andrea Aime > wrote: > >> And here we go with a pull request: >> https://github.com/geotools/geotools/pull/469 >> > > Bah, I'm losing it... I did implement the version using @KVP. > Pull request now updated to u

Re: [Geotools-devel] Extending process annotations to allow generic metadata specification

2014-06-03 Thread Andrea Aime
On Tue, Jun 3, 2014 at 3:57 PM, Andrea Aime wrote: > And here we go with a pull request: > https://github.com/geotools/geotools/pull/469 > Bah, I'm losing it... I did implement the version using @KVP. Pull request now updated to use simple strings as in the second example Cheers Andrea -- ==

Re: [Geotools-devel] Extending process annotations to allow generic metadata specification

2014-06-03 Thread Andrea Aime
And here we go with a pull request: https://github.com/geotools/geotools/pull/469 Cheers Andrea On Sat, May 31, 2014 at 3:45 PM, Andrea Aime wrote: > On Sat, May 31, 2014 at 3:41 PM, Jody Garnett > wrote: > >> >> So is meta taking a list of strings, each string parsed as a key value pai

Re: [Geotools-devel] Extending process annotations to allow generic metadata specification

2014-05-31 Thread Andrea Aime
On Sat, May 31, 2014 at 3:41 PM, Jody Garnett wrote: > > So is meta taking a list of strings, each string parsed as a key value >>> pair? sounds okay. >>> >> >> Right, it would be split at the first = and added into the metadata map >> > > Sounds good, assume this more legible then just alternat

Re: [Geotools-devel] Extending process annotations to allow generic metadata specification

2014-05-31 Thread Jody Garnett
> So is meta taking a list of strings, each string parsed as a key value >> pair? sounds okay. >> > > Right, it would be split at the first = and added into the metadata map > Sounds good, assume this more legible then just alternating key, value pairs: meta = {"mimeTypes","application/json,tex

Re: [Geotools-devel] Extending process annotations to allow generic metadata specification

2014-05-31 Thread Andrea Aime
On Sat, May 31, 2014 at 3:27 PM, Jody Garnett wrote: > On Sat, May 31, 2014 at 11:05 PM, Andrea Aime < > [email protected]> wrote: > >> Hi, >> in this mail I'm proposing that we extend the parameter and result process >> annotation with a meta key that would allow the specification of

Re: [Geotools-devel] Extending process annotations to allow generic metadata specification

2014-05-31 Thread Jody Garnett
On Sat, May 31, 2014 at 11:05 PM, Andrea Aime wrote: > Hi, > in this mail I'm proposing that we extend the parameter and result process > annotation with a meta key that would allow the specification of extra > metadata meant to be added in the Param metadata map. > Good idea, goal was to have t

[Geotools-devel] Extending process annotations to allow generic metadata specification

2014-05-31 Thread Andrea Aime
Hi, in this mail I'm proposing that we extend the parameter and result process annotation with a meta key that would allow the specification of extra metadata meant to be added in the Param metadata map. The following example is geared towards specifying a mimeTypes and a selection entries in the