wps+grass on windows

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

wps+grass on windows

lvyou6412957
hello everyone:
I'm learning wps recently.Today  I'm just trying to get the WPS running with GRASS on Windows using the tutorial[1].  I'm not too familiar with GRASS.  After I have done according to the tutorial,how can I expose grass algorithm to wps?I really don't know what shall I do next step,Is there any   working example I can look at   ?
Reply | Threaded
Open this post in threaded view
|

Re: wps+grass on windows

lvyou6412957
My meaning is whether there is any example to execute the grasss algorithm via wps.
Reply | Threaded
Open this post in threaded view
|

Re: wps+grass on windows

Daniel
Am 11.07.2014 08:52, schrieb lvyou6412957:
> My meaning is whether there is any example to execute the grasss algorithm
> via wps.

The examples in the webapp module that start with "r." or "v." are
raster respectively vector examples for GRASS.

https://github.com/52North/WPS/tree/master/52n-wps-webapp/src/main/webapp/requests


Are you using GRASS 6 or 7 ?


Hope this helps,
Daniel


--
Daniel Nüst
52°North Initiative for Geospatial Open Source Software GmbH
Martin-Luther-King-Weg 24
48155 Münster, Germany
E-Mail: [hidden email]
Fon: +49-(0)-251–396371-36
Fax: +49-(0)-251–396371-11

http://52north.org/
Twitter: @FiveTwoN

General Managers: Dr. Albert Remke, Dr. Andreas Wytzisk
Local Court Muenster HRB 10849
_______________________________________________
Geoprocessingservices mailing list
[hidden email]
http://list.52north.org/mailman/listinfo/geoprocessingservices
http://geoprocessing.forum.52north.org
Reply | Threaded
Open this post in threaded view
|

Re: wps+grass on windows

lvyou6412957
Thank you for your reply,I'm using the grass 7 .
The wps config.xml is:
and the .grassrc70 is:
                               GISDBASE: C:/Program Files (x86)/GRASS-70-SVN
                               LOCATION_NAME: demolocation
                               MAPSET: PERMANENT
                               GRASS_DB_ENCODING: utf-8
                               DEBUG: 0
                               GRASS_GUI: text
when I start tomcat ,it show

The describe of  v.buffer is :
But when I execute request xml:
https://github.com/52North/WPS/blob/master/52n-wps-webapp/src/main/webapp/requests/v.buffer_request_in_kml.xml

It says :
where is wrong?Did I Setting up the 52°North WPS with GRASS on Windows successfully?
Reply | Threaded
Open this post in threaded view
|

Re: wps+grass on windows

BenjaminPross
Hi,

I can't figure out the exception shown in the last image. Could you enlarge it?

Thanks.

Benjamin
Reply | Threaded
Open this post in threaded view
|

Re: wps+grass on windows

lvyou6412957
hi
Thanks for your reply,I reinstallation the grass,and  the errors is  :,
the config.xml is like this :
what's wrong?
Reply | Threaded
Open this post in threaded view
|

Re: wps+grass on windows

lvyou6412957
Reply | Threaded
Open this post in threaded view
|

Re: wps+grass on windows

lvyou6412957
In reply to this post by BenjaminPross
hi BenjaminPross,
I reload the wps source code, and I recompile it ,then I add the  grass; at  last ,I  succeed.