From: Jody G. <jod...@gm...> - 2008-12-30 09:49:31
|
Andrea Aime wrote: > Jody Garnett ha scritto: > >> Hi Andrea; >> >> gt-process is still unsupported; indeed I am hoping for feedback from >> the process of intergrating sextante in order to refine this api. >> > > So, do you think it would make sense to have the factory generate > multiple algorithms That part is fine. > and have the algorithm describe itself like in Sextante? > Based on your description below it sounds like we need more detailed information then "like in Sextante". > As an alternative, we could split out a descriptive object, > ProcessMetadata, and have the factory and the algorithm return it > on demand: > > ProcessFactory { > Process getAlgorithm(String name); > ProcessDescription describeAlgorithm(String name) > } > > Process { > ... > ProcessDescription describeAlgorithm(); > ... > } > Understood; if you go to a "multi" approach (which seems the only way around factory spi) we will need to allow the factory to provide a list of descriptive objects. >> I would love to know what kind of descriptive information sextante >> provides (since we ended up needing quite a bit for gt-process - in >> order to support wps). >> > > From a cursory look it covers decently the WPS metadata, it has a name and a title, thought it does not have an extensive description it seems. Same goes for the parameters, no description but we have name and title. > This will present quite the challenge will it not? We have been gradually documenting additional keys for our metadata map (for things like CRS, Length etc...). Jody |