<div dir="ltr"><div><div><div><div><div><div><div>Respected Sir,<br><br></div>As you suggested in previous mail I have gone through Pywps <a href="http://netmar.nersc.no/sites/netmar.nersc.no/files/D7.7_WPS_Cookbook_r1_20111229.pdf">Cookbook Documentation</a>[1].  As there are three types of inputs and outputs are defined in the OGC standard: LiteralData, ComplexData, BoundingBox data. But as you mentioned we have to take care of ComplexData.<br>
<br></div>Currently ComplexData data store in two manner, One with xml as GML format, Second with binary raster data encoded in base64.<br></div>these data stored as a file in system. Now we need database for the better access and availability.<br>
<br></div>I following questions in my mind. <br><br></div>1. Do we have write database module so that user can configure there own database server by providing db URL and user credential, like standard db connectivity ? <br>
<br></div>2. Or we have to design our own database and provide db connection object to user, so that they can write to the DB ? <br><br></div>3. How are we supposed to store the data in DB as both vector and raster data present in different format ? <br>
<div><div><br></div><div>4. What kind of database support do we need ? Relational DB(PostgreSQL, MySQL) or NOSql DB (as we have <span class="">Cassandra by pycassa</span> ) ? <br><br></div><div>5. What should be the <b>schema </b>of the database ? is it predefine or define by the user ? <br>
</div><div><div><div><div>  <div><br><br></div><div>and last but not the least when will be next hangout 13 march or 26 march ? sorry bit confuse.  <br></div><div><br>[1] - <a href="http://netmar.nersc.no/sites/netmar.nersc.no/files/D7.7_WPS_Cookbook_r1_20111229.pdf">http://netmar.nersc.no/sites/netmar.nersc.no/files/D7.7_WPS_Cookbook_r1_20111229.pdf</a><br>
<br></div></div></div></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Mar 10, 2014 at 2:33 AM, Jachym Cepicky <span dir="ltr"><<a href="mailto:jachym.cepicky@gmail.com" target="_blank">jachym.cepicky@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<div class=""><br>
<br>
On Sun, Mar 09, 2014 at 05:46:09PM +0000, Mendes de Jesus, Jorge wrote:<br>
> Hi to all<br>
><br>
> @Naveen, first give a look at the WPS standard 1.0.0[1] and we have a wiki [2]and doc online [3] (all document refer to the old 3.2 version but still a good source of information and technical know-how<br>
> @Jachym, correct me when wrong<br>
><br>
> WPS defines one output as ComplexData, meaning a raster images, vetorial data etc etc can be contained between the element tags <ComplexData /> The output data can be stored in the server when the user requests an async result, the data stored is then fetch by an URL location indicates by a status response.<br>

><br>
> So,<br>
> 1) The data stored in the server is currently saved on the filesystem and we need it in a DB<br>
<br>
</div>better say: we would like to offer option, that all generated output data could<br>
be stored in some database, instead of file system<br>
<div class=""><br>
> 2) URLs will have to point to some function/service/DBrequest that will fetch the results to the user<br>
<br>
</div>so service will have to be written/configured (using mapserver/geoserver/custom<br>
something), which will do the serving<br>
<div class=""><br>
> 3) DB structure should contain metadata on the request, datatype  etc etc etc<br>
<br>
> 4) We are currently  working on new code and things are not 100% stable, nor I have a clear knowledge of the code therefore I can't give you a direct answer to were in the code this has to be hookedup (Maybe during the next hangout 13-March I/we will check it out).Please give a look at the pywps4.0 documentation [4]<br>

<br>
</div>currently, first version of file storage is implemented - just storing, no data<br>
exporting <a href="https://github.com/jachym/pywps-4/blob/master/pywps/inout.py#L227" target="_blank">https://github.com/jachym/pywps-4/blob/master/pywps/inout.py#L227</a><br>
(will be moved to separate file soon, or maybe package)<br>
<div class="HOEnZb"><div class="h5"><br>
J<br>
<br>
><br>
><br>
> [1] <a href="http://www.opengeospatial.org/standards/wps" target="_blank">http://www.opengeospatial.org/standards/wps</a><br>
> [2] <a href="http://wiki.rsg.pml.ac.uk/pywps/Main_Page" target="_blank">http://wiki.rsg.pml.ac.uk/pywps/Main_Page</a><br>
> [3] <a href="http://pywps.wald.intevation.org/documentation/" target="_blank">http://pywps.wald.intevation.org/documentation/</a><br>
> [4] <a href="http://pywps.readthedocs.or" target="_blank">http://pywps.readthedocs.or</a><br>
><br>
> I will try to give you more information on the following days<br>
><br>
> Jorge<br>
><br>
><br>
><br>
> ________________________________________<br>
> From: Naveen Panwar [<a href="mailto:panwarn09@gmail.com">panwarn09@gmail.com</a>]<br>
> Sent: 07 March 2014 10:00<br>
> To: Mendes de Jesus, Jorge; Jáchym Čepický<br>
> Subject: [ GSOC 2014 ] Database output storage idea.<br>
><br>
> Hello Sir,<br>
><br>
> As we know students application starts on March 10th.<br>
> For that I have to write proposal for the idea "Database output storage - PostGIS and SQLite".<br>
> So could you suggest anything in this direction. What should be in the IDEA related to Pywps.<br>
><br>
> Also could you suggest on which modules we have to add database interaction<br>
> in Pywps code base.<br>
><br>
> --<br>
><br>
> Regards,<br>
> Naveen Panwar<br>
> Senior Undergraduate Student<br>
> IIIT-Hyderabad, India.<br>
><br>
> <a href="http://lsi.iiit.ac.in/naveen.panwar" target="_blank">http://lsi.iiit.ac.in/naveen.panwar</a><br>
><br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
Jachym Cepicky<br>
URL: <a href="http://les-ejk.cz" target="_blank">http://les-ejk.cz</a><br>
e-mail: jachym.cepicky at gmail com<br>
PGP: <a href="http://les-ejk.cz/pgp/JachymCepicky.pgp" target="_blank">http://les-ejk.cz/pgp/JachymCepicky.pgp</a><br>
@jachymc<br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr"><br><div dir="ltr"><div><font face="arial, helvetica, sans-serif">Regards,</font></div><div><font face="arial, helvetica, sans-serif">Naveen Panwar</font></div>
<div><font face="arial, helvetica, sans-serif"><span style="text-align:-webkit-auto">Senior</span><span style="text-align:-webkit-auto"> </span><span style="text-align:-webkit-auto">Undergraduate Student</span><br></font></div>
<div><span style="text-align:-webkit-auto"><font face="arial, helvetica, sans-serif">IIIT-Hyderabad, India.</font></span></div><div><span style="text-align:-webkit-auto"><font face="arial, helvetica, sans-serif"><br></font></span></div>
<div><div style="font-family:arial;font-size:small"><a href="http://lsi.iiit.ac.in/naveen.panwar" style="font-family:arial,helvetica,sans-serif;color:rgb(17,85,204)" target="_blank">http://lsi.iiit.ac.in/naveen.panwar</a><br>
</div><div style="font-family:arial;font-size:small"><br></div></div></div></div>
</div>