Thank you Andrea and Justin for your anwsers.

More precisely my need is simply to check if a point is inside a shape
of polygones. This polygones are stored in a shapefile.

With the new WPS extensions I thought that it could be easy to
implement a WPS service. But it looks like less automatically that I
thought.

I will have a look to the python module. I already used it and I
remember that it was pretty simple.

When I will have more time, I will try to use again the WPS extension.
But I have a last question. If I understand well the documentation, to
execute a WPS process I have to send to geoserver a XML file. This
file contains all the elements (input and output) needed by GeoServer.
But can we use it as well with a simple URL ?


Thank you again for your answers.

Regards

Arnaud


On Tue, Jul 26, 2011 at 12:11 AM, Justin Deoliveira
<[email protected]> wrote:
> The python module is still pretty young, but the api should give you more or
> less the same access as if you wrote the process in java. As FOSS4G
> approaches though I hope to stabilize it and get it to extension status.
>
> http://docs.geoserver.org/stable/en/user/community/python/hooks.html#process
> -Justin
>
> On Mon, Jul 25, 2011 at 12:03 PM, Andrea Aime <[email protected]>
> wrote:
>>
>> On Mon, Jul 25, 2011 at 6:26 PM, Arnaud Vandecasteele
>> <[email protected]> wrote:
>> > Hi,
>> >
>> > I'm using GeoServer 2.1.1, with the WPS extension.
>> > I have read the documentation about WPS [1] but I can't find any
>> > information about the way to add my own script and to call it after.
>> > Can someone have more information ?
>>
>> At the moment all processes are written in java using the Geotools
>> API, with some annotations to make the coding easier.
>> Here are the existing ones:
>>
>> http://svn.codehaus.org/geoserver/trunk/src/extension/wps/wps-core/src/main/java/org/geoserver/wps/gs/
>>
>> which are then declared in the Spring application context here:
>>
>> http://svn.codehaus.org/geoserver/trunk/src/extension/wps/wps-core/src/main/java/applicationContext.xml
>>
>> One can do a custom process by creating a jar with the class and the app
>> context file inside, then drop it in WEB-INF/lib and go from there.
>>
>> I know Justin has been working on a python scripting module that is in
>> the community section. It is developed in spare time, not sure what
>> its limitations are at the moment.
>>
>> > Also, If you have an example with a tiny client loke OpenLayers it
>> > will be great :)
>>
>> For the moment I'm the main developer of the WPS module, that
>> implies some limitations, in particular, I don't do scripting of any
>> kind, so it's a topic that has received little attention.
>> I would be happy if someone that actually uses scripting languages
>> would join the effort and improve the WPS in that direction.
>> That includes making a OL client, that would have to be made
>> in java...script! ;-)
>>
>> 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
>>
>> -------------------------------------------------------
>>
>>
>> ------------------------------------------------------------------------------
>> Storage Efficiency Calculator
>> This modeling tool is based on patent-pending intellectual property that
>> has been used successfully in hundreds of IBM storage optimization engage-
>> ments, worldwide.  Store less, Store more with what you own, Move data to
>> the right place. Try It Now!
>> http://www.accelacomm.com/jaw/sfnl/114/51427378/
>> _______________________________________________
>> Geoserver-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
>
> --
> Justin Deoliveira
> OpenGeo - http://opengeo.org
> Enterprise support for open source geospatial.
>

------------------------------------------------------------------------------
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to