Sat, Mar 18 2006
07:27:04
|
|
Request created by guest
|
|
Subject: grass61 command: all parameters specified or none of them
Platform: GNU/Linux/x86
grass obtained from: CVS
grass binary for platform: Compiled from Sources
GRASS Version: 20060316
Documentation and help for the command grass61 specifies that:
You must specify one of the following
MAPSET
LOCATION_NAME/MAPSET
GISDBASE/LOCATION_NAME/MAPSET
In fact, at the commandline, only the last option works:
GISDBASE/LOCATION_NAME/MAPSET
the other options are ambiguous and result in a "Not a valid Location" error.
|
|
Sat, Mar 18 2006
08:01:45
|
|
Comments added by guest
|
|
User error. The environment variables GISDBASE, LOCATION_NAME, or MAPSET need
to be set first for the truncated versions to work |
|
Sat, Mar 18 2006
08:04:05
|
|
Mail sent by david.p.finlayson@gmail.com
|
|
Return-Path |
<david.p.finlayson@gmail.com>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
DomainKey-Signature |
a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=tdZ5wl1QT/rcgLiPGUFbLYoh+0FmxsLWT5PLX+s2v3LIVp1j02XK80LQs9PfPsdgqjvJ0FaAwcvDVad3tKIZTWljtP/RJqmPmdjc5L+m2S1f76PL4jcfdiIrYgPpjRVYmpMtxZtFGumYn/YX/sxVqjzzeSiYKvuDONnd4qgvObY=
|
Message-ID |
<be6d1720603172304k77f6efecwebfc7498c670e7c@mail.gmail.com>
|
Date |
Fri, 17 Mar 2006 23:04:02 -0800
|
From |
"David Finlayson" <david.p.finlayson@gmail.com>
|
To |
"Request Tracker" <grass-bugs@intevation.de>
|
Subject |
Re: [GRASS5] [bug #4186] (grass) grass61 command: all parameters specified or none of them
|
In-Reply-To |
<20060318062704.498201005AC@lists.intevation.de>
|
MIME-Version |
1.0
|
Content-Type |
text/plain; charset=ISO-8859-1
|
Content-Transfer-Encoding |
quoted-printable
|
Content-Disposition |
inline
|
References |
<20060318062704.498201005AC@lists.intevation.de>
|
X-Spam-Status |
No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
|
X-Spam-Level |
|
The environment variables need to be set in the shell prior to using
the shortened versions of the command.
This is not a bug.
David
On 3/17/06, Request Tracker <grass-bugs@intevation.de> wrote:
> this bug's URL: http://intevation.de/rt/webrt?serial_num=3D4186
> -------------------------------------------------------------------------
>
> Subject: grass61 command: all parameters specified or none of them
>
> Platform: GNU/Linux/x86
> grass obtained from: CVS
> grass binary for platform: Compiled from Sources
> GRASS Version: 20060316
>
> Documentation and help for the command grass61 specifies that:
>
> You must specify one of the following
>
> MAPSET
> LOCATION_NAME/MAPSET
> GISDBASE/LOCATION_NAME/MAPSET
>
> In fact, at the commandline, only the last option works:
>
> GISDBASE/LOCATION_NAME/MAPSET
>
> the other options are ambiguous and result in a "Not a valid Location" er=
ror.
>
>
>
> -------------------------------------------- Managed by Request Tracker
>
> _______________________________________________
> grass5 mailing list
> grass5@grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass5
>
--
David Finlayson
|
|
Sun, Mar 19 2006
02:14:55
|
|
Mail sent by hamish_nospam@yahoo.com
|
|
Return-Path |
<hamish_nospam@yahoo.com>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
Date |
Sun, 19 Mar 2006 13:14:37 +1200
|
From |
Hamish <hamish_nospam@yahoo.com>
|
To |
Request Tracker <grass-bugs@intevation.de>
|
Cc |
grass5@grass.itc.it
|
Subject |
Re: [GRASS5] [bug #4186] (grass) grass61 command: all parameters specified or none of them
|
Message-Id |
<20060319131437.21184846.hamish_nospam@yahoo.com>
|
In-Reply-To |
<20060318062704.498201005AC@lists.intevation.de>
|
References |
<20060318062704.498201005AC@lists.intevation.de>
|
X-Mailer |
Sylpheed version 1.0.4 (GTK+ 1.2.10; i386-pc-linux-gnu)
|
X-Face |
M<EoB)"*Z~u!,vFhXmw}R_KbdBta*P_=T|rbBL'e1/CQ9;/1g\BU3&!=y8ria$2Uk!HT&BB 8i?|X_+7~1jsy}F~g$2va%3fV`*=L(*cem[@3\yg,G,@rg6/QMJ
|
Mime-Version |
1.0
|
Content-Type |
text/plain; charset=US-ASCII
|
Content-Transfer-Encoding |
7bit
|
X-Spam-Status |
No, hits=-4.0 tagged_above=-999.0 required=3.0 tests=BAYES_00, FORGED_YAHOO_RCVD
|
X-Spam-Level |
|
> this bug's URL: http://intevation.de/rt/webrt?serial_num=4186
> ---------------------------------------------------------------------
>
> Subject: grass61 command: all parameters specified or none of them
>
> Platform: GNU/Linux/x86
> grass obtained from: CVS
> grass binary for platform: Compiled from Sources
> GRASS Version: 20060316
>
> Documentation and help for the command grass61 specifies that:
>
> You must specify one of the following
>
> MAPSET
> LOCATION_NAME/MAPSET
> GISDBASE/LOCATION_NAME/MAPSET
>
> In fact, at the commandline, only the last option works:
>
> GISDBASE/LOCATION_NAME/MAPSET
>
> the other options are ambiguous and result in a "Not a valid Location"
> error.
This is uncorrect. It works fine but you have to be in the correct
directory.
e.g. these all work:
cd $MAPSET
grass61 `pwd`
# this works but mapset name in g.gisenv is ".", which is bad
cd $MAPSET
grass61 .
cd $LOCATION
grass61 $MAPSET
cd $GISDBASE
grass61 $LOCATION/$MAPSET
and finally
grass61 $GISDBASE/$LOCATION/$MAPSET
the trick is you have to be in the correct part of the file system.
e.g. if $MAPSET = $USER, grass61 $USER from /home could very well be
ambiguous.
This seems like a good time to again call for an enhancement to the
TclTk startup screen: double clicking on a mapset name should imply
"continue".
Hamish
|
|
Tue, Mar 21 2006
20:04:26
|
|
Status changed to resolved by msieczka
|
|
Tue, Mar 21 2006
20:04:26
|
|
Mail sent by msieczka
|
|
Closing it. Reopen if needed.
Maciek
|
|