From: Andrea A. <and...@ge...> - 2011-08-27 08:56:44
|
On Fri, Aug 26, 2011 at 5:40 PM, Jody Garnett <jod...@gm...> wrote: > Process clarification question > For the following with have a java bean defined; with an annotation to fill > in the missing information: > DescribeProcess(title = "rectangularClip", description = "Clips the features > to the specified geometry") > public class ClipProcess implements GSProcess { > .... > } > I ran into a bad assumption when writing a test case ... > To find the above process: > - new NameImpl("gs","ClipProcess") works > - new NameImpl("gs","rectangularClip") does not work > Does the WPS spec have the concept of a display name? I would of expected > that "rectangularClip" is used rather than the java bean name; if only so we > can follow normal java naming conventions for our java beans without > watching things get out of hand. <wps:Process wps:processVersion="1.0.0"> <ows:Identifier>gs:Clip</ows:Identifier> <ows:Title>Clips the features to the specified geometry</ows:Title> <ows:Abstract>Clips the features to the specified geometry</ows:Abstract> </wps:Process> However somethig is not working, since title and abstract are both the same value. So yeah, title was meant to be the wps title Cheers Andrea -- ------------------------------------------------------- Ing. Andrea Aime GeoSolutions S.A.S. Tech lead Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 962313 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ http://www.youtube.com/user/GeoSolutionsIT http://www.linkedin.com/in/andreaaime http://twitter.com/geowolf ------------------------------------------------------- |