<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">Is there some special reason you need to create the GRASS directory structure programatically each time? Can't you just start</blockquote>
<div>As the pywps I have refered,each client(user) may send their own process request with different map,obvirous they do not have the save location or mapset even the projection,so if config the grass only once ,do the location and mapset accord with the user requested map?</div>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote"><span></span>GRASS once the straight-forward way to make the required location, mapset and files, then use the instructions here:<br>
<a href="http://grass.osgeo.org/wiki/GRASS_and_Shell" target="_blank">http://grass.osgeo.org/wiki/GRASS_and_Shell</a><br>to run your grass commands from a shell/python script?</blockquote>
<div>I read the shell,actually I am using another script in the annex,and I think they have the same thought.<br></div>
<div class="gmail_quote">2009/6/11 Micha Silver <span dir="ltr"><<a href="mailto:micha@arava.co.il">micha@arava.co.il</a>></span><br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div style="DIRECTION: ltr" text="#000000" bgcolor="#ffffff">
<div class="im">maven apache wrote:
<blockquote type="cite">
<div>Hi:</div>
<div>I followed the doc from the web resrouce:</div>
<div><a href="https://svn.wald.intevation.org/svn/pywps/tags/pywps-3.1.0/pywps/Grass.py" target="_blank">https://svn.wald.intevation.org/svn/pywps/tags/pywps-3.1.0/pywps/Grass.py</a><br></div>
<div>And I think what we are doing is similar to theirs,so I thought the confignation of grass maybe correct for us.<br></div></blockquote></div>Is there some special reason you need to create the GRASS directory structure programatically each time? Can't you just start GRASS once the straight-forward way to make the required location, mapset and files, then use the instructions here:<br>
<a href="http://grass.osgeo.org/wiki/GRASS_and_Shell" target="_blank">http://grass.osgeo.org/wiki/GRASS_and_Shell</a><br>to run your grass commands from a shell/python script?<br><br>-- <br>Micha<br> <br>
<blockquote type="cite">
<div class="im">
<div class="gmail_quote">2009/6/11 Nikos Alexandris <span dir="ltr"><<a href="mailto:nikos.alexandris@felis.uni-freiburg.de" target="_blank">nikos.alexandris@felis.uni-freiburg.de</a>></span><br>
<blockquote style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote"><br>maven:<br>
<div>> And I know the reason of the problem now.<br><br></div>Which is?<br>
<div><br><br>> However as what you said,I should create a new location and mapset if<br>> necessary,it does not work.<br>> I create two folders nLocation/nmapset and create a wind file in the<br>> nmapset dir, however when I run the grass gui,I also can not seclect<br>
> the new location to enter.<br><br></div>Sorry, I never create manually those directories and the WIND file. I<br>always use the "recommended" way, that is through GRASS.<br><br>Read _A)_ or/ and _B)_ in:<br>
<a href="http://grass.osgeo.org/grass64/manuals/html64_user/helptext.html" target="_blank">http://grass.osgeo.org/grass64/manuals/html64_user/helptext.html</a><br>
<div><br><br>> It throw the error message:the selection location [nlocation ]is not<br>> valide. Is the procedure I create the new location is wrong? I<br>> followed the maual<br><br></div>Which manual?<br><font color="#888888"><br>
Nikos<br><br></font></blockquote></div><br><br></div>This mail was received via Mail-SeCure System.<br><pre><hr size="4" width="90%">
_______________________________________________
grass-user mailing list
<a href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a>
This mail was received via Mail-SeCure System.
</pre></blockquote><br></div></blockquote></div><br>