>
> Is there some special reason you need to create the GRASS directory
> structure programatically each time? Can't you just start

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?

> GRASS once the straight-forward way to make the required location, mapset
> and files, then use the instructions here:
> http://grass.osgeo.org/wiki/GRASS_and_Shell
> to run your grass commands from a shell/python script?

I read the shell,actually I am using another script in the annex,and I think
they have the same thought.
2009/6/11 Micha Silver <[email protected]>

>  maven apache wrote:
>
> Hi:
> I followed the doc from the web resrouce:
> https://svn.wald.intevation.org/svn/pywps/tags/pywps-3.1.0/pywps/Grass.py
> And I think what we are doing is similar to theirs,so I thought the
> confignation of grass maybe correct for us.
>
> 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:
> http://grass.osgeo.org/wiki/GRASS_and_Shell
> to run your grass commands from a shell/python script?
>
> --
> Micha
>
>
>  2009/6/11 Nikos Alexandris <[email protected]>
>
>>
>> maven:
>> > And I know the reason of the problem now.
>>
>> Which is?
>>
>>
>> > However as what you said,I should create a new location and mapset if
>> > necessary,it does not work.
>> > I create two folders nLocation/nmapset and create a wind file in the
>> > nmapset dir, however when I run the grass gui,I also can not seclect
>> > the new location to enter.
>>
>> Sorry, I never create manually those directories and the WIND file. I
>> always use the "recommended" way, that is through GRASS.
>>
>> Read _A)_ or/ and _B)_ in:
>> http://grass.osgeo.org/grass64/manuals/html64_user/helptext.html
>>
>>
>> > It throw the error message:the selection location [nlocation ]is not
>> > valide. Is the procedure I create the new location is wrong? I
>> > followed the maual
>>
>> Which manual?
>>
>> Nikos
>>
>>
>
> This mail was received via Mail-SeCure System.
>
> ------------------------------
>
> _______________________________________________
> grass-user mailing 
> [email protected]http://lists.osgeo.org/mailman/listinfo/grass-user
>
> This mail was received via Mail-SeCure System.
>
>
>
>
>
>

Attachment: Grass.java
Description: Binary data

_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to