<div dir="ltr">Hi Nitendra,<div><br></div><div>First of all this question is related to WPS and CGI than with GRASS.</div><div><br></div><div class="gmail_extra">Did you tried setting up a WPS service and use OpenLayers to read data.<br>

<br><div class="gmail_quote">On Wed, Dec 4, 2013 at 9:19 PM, Nitendra Gautam <span dir="ltr"><<a href="mailto:nitendra.gautam@my.ndsu.edu" target="_blank">nitendra.gautam@my.ndsu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">






<div dir="ltr">
<div name="divtagdefaultwrapper" style="font-size:12pt;margin:0;font-family:Calibri,Arial,Helvetica,sans-serif">
Hi all,
<div><br>
</div>
<div>I want to make a simple web page that uses web processing capabilities of GRASS as  a back end and displays image on the webpage.I am using CGI interface of python and PyWPS bridge connecting them .</div>
<div>right now my web page(<a href="http://134.129.125.124/" style="font-size:12pt" title="http://134.129.125.124/
Ctrl+click or tap to follow link" target="_blank">http://134.129.125.124/</a>)<span style="font-size:12pt">  displays a normal JPG image by from <JPG image
 button>.</span></div>
<div>I want to write a  simple python script which uses Grass GIS to convert a TIFF image to png or other formats.This script should run as a back end.</div>
<div>I have pasted my script (<a href="http://pastie.org/8529097" style="font-size:12pt" title="http://pastie.org/8529097
Ctrl+click or tap to follow link" target="_blank">http://pastie.org/8529097</a>).But its not working right now.</div></div></div></blockquote><div><br></div><div>What you mean not working? You should provide some information like error_log content to get some help. But honestly I am dont know much of PyWPS. I haven't used it for a long time. you should ask on pywps list to get a better response.</div>

<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div name="divtagdefaultwrapper" style="font-size:12pt;margin:0;font-family:Calibri,Arial,Helvetica,sans-serif">


<div><br>
</div>
<div>Can you please give me suggestions ?</div>
<div> </div>
<div>Thank You</div><span class="HOEnZb"><font color="#888888">
<div>Nitendra</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</font></span></div>
</div>

<br>_______________________________________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><font face="arial, helvetica, sans-serif">Regards,<br>

   Rashad</font></div>
</div></div>