Regarding data-types to be used while writing an R-script that is to be deployed in WPS

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

Regarding data-types to be used while writing an R-script that is to be deployed in WPS

Girija
This post was updated on .
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Regarding data-types to be used while writing an R-script that is to be deployed in WPS

Daniel
Hi!

We had this before, so please follow our advice: Do not cross post on
both geoprocessing and geostatistics mailing list.

Am 18/09/2014 um 13:47 schrieb Girija Kalyani:
> I am working on WPS4R back-end and am performing species distribution
> modeling using R (R-windows 64bit) using MaxEnt which i want to view as
> a process through wps_client.

Which "wps client" do you use?

> Here I have 2 issues dealing with this,
> Firstly, I don't find a dedicated document to define the data types,
> correct me if i am wrong, i am assuming that only shape files and raster
> files can be described using the data-types,
> and I want the process to display the raster input being passed through
> the script and then produce the output. I would be glad somebody can
> suggest me dedicated guide to use data types.

Please concretely list what the inputs and outputs of the process shall be.

The data types can be defined manually in R_Datatype.conf [1], but right
now I am not sure this is actually required.

> Secondly, Can i use Sweave and knittr for describing dynamic output as a
> process in R? (i just want to know if there is any possibility)

What do you mean with "describing dynamic output" ?

Whatever you can do in an R script, you can do it with WPS4R. I have not
used knittr yet, but there is an example to run Sweave [2]. Please note
the wps.resource definition.


Hope this helps,
Daniel

[1]
https://github.com/52North/WPS/blob/dev/52n-wps-webapp/src/main/webapp/R/R_Datatype.conf
[2]
https://github.com/52North/WPS/blob/dev/52n-wps-webapp/src/main/webapp/R/scripts/demo_sweave-foo.R

--
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