Mon, Apr 25 2005
00:16:34
|
|
Request created by jidanni@jidanni.org
|
|
Return-Path |
<jidanni@jidanni.org>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
To |
grass-bugs@intevation.de
|
Subject |
Sorry, <catcol> is not a valid parameter
|
From |
Dan Jacobson <jidanni@jidanni.org>
|
Date |
Sun, 24 Apr 2005 13:21:52 +0800
|
Message-ID |
<87r7h07nrj.fsf@jidanni.org>
|
MIME-Version |
1.0
|
Content-Type |
text/plain; charset=us-ascii
|
X-Spam-Status |
No, hits=-4.2 tagged_above=-999.0 required=3.0 tests=BAYES_00, DATE_IN_PAST_12_24
|
X-Spam-Level |
|
$ v.in.ascii catcol=0 out=s11 columns='x double,y double,contno integer'
Sorry, <catcol> is not a valid parameter
OK, then remove it from v.in.ascii.html.
P.S.,
v.net.path -s makes many segments but only writes one database line. Bad?
I notice one must use format=standard if one want v.out.ascii to work.
GRASS 6.0.0beta2 (2005)
$ v.to.db help
-s print only sql statements
Say "only print sql statements" perhaps.
On v.db.connect.html, exammples like
v.db.connect map=vectormap table=table field=1 key=cat driver=dbf
database='$GISDBASE/$LOCATION_NAME/$MAPSET/dbf'
should mention that all these are the default values...
PS. Seg fault:
$ v.to.db map=m5 option=length type=line col=linelength units=me
DBMI-DBF driver error:
Column 'cat' not found
Error in db_open_select_cursor()
Updating database ... 12% *** [KK] Segmentation fault
Let's try your examples on db.execute.html:
$ echo 'create table soils ("cat" int, "soiltype" text)' | db.execute
dbmi: Protocol error (invalid table/column name or unsupported column
type)
ERROR: Error while executing: "create table soils ("cat" int,
"soiltype"
text)
"
Oh how dumb, so this works
echo 'create table soils (cat int, soiltype int);' | db.execute
So remove the quote marks! Check the whole page.
|
|
Fri, May 6 2005
15:49:12
|
|
Mail sent by mneteler
|
|
> $ v.in.ascii catcol=0 out=s11 columns='x double,y double,contno integer'
> Sorry, <catcol> is not a valid parameter
> OK, then remove it from v.in.ascii.html.
Done. Was already fixed in 6.1.
> P.S.,
> v.net.path -s makes many segments but only writes one database line. Bad?
No idea.
> I notice one must use format=standard if one want v.out.ascii to work.
It depends on what you want to do.
> GRASS 6.0.0beta2 (2005)
>
> $ v.to.db help
> -s print only sql statements
> Say "only print sql statements" perhaps.
Done.
> On v.db.connect.html, exammples like
> v.db.connect map=vectormap table=table field=1 key=cat driver=dbf
> database='$GISDBASE/$LOCATION_NAME/$MAPSET/dbf'
> should mention that all these are the default values...
Not clear what you mean.
>
> PS. Seg fault:
> $ v.to.db map=m5 option=length type=line col=linelength units=me
> DBMI-DBF driver error:
> Column 'cat' not found
> Error in db_open_select_cursor()
>
> Updating database ... 12% *** [KK] Segmentation fault
>
Looks like corrupted table/map.
Note that you are using an old 6.0beta version.
> Let's try your examples on db.execute.html:
>
> $ echo 'create table soils ("cat" int, "soiltype" text)' | db.execute
> dbmi: Protocol error (invalid table/column name or unsupported column
> type)
> ERROR: Error while executing: "create table soils ("cat" int,
> "soiltype"
> text)
> "
>
> Oh how dumb, so this works
> echo 'create table soils (cat int, soiltype int);' | db.execute
> So remove the quote marks! Check the whole page.
Fixed.
Markus |
|
Fri, May 6 2005
15:49:21
|
|
Status changed to resolved by mneteler
|
|
Sat, May 7 2005
02:01:39
|
|
Mail sent by jidanni@jidanni.org
|
|
Return-Path |
<jidanni@jidanni.org>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
To |
Markus Neteler via RT <grass-bugs@intevation.de>
|
Subject |
Re: [bug #3181] (grass) Sorry, <catcol> is not a valid parameter
|
References |
<20050506134912.EB5381005B1@lists.intevation.de>
|
From |
Dan Jacobson <jidanni@jidanni.org>
|
Date |
Sat, 07 May 2005 06:23:40 +0800
|
Message-ID |
<87wtqc8043.fsf@jidanni.org>
|
MIME-Version |
1.0
|
Content-Type |
text/plain; charset=us-ascii
|
X-Spam-Status |
No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
|
X-Spam-Level |
|
> GRASS is based on work of *volunteers*. No need to shout
Don't worry about that.
>> On v.db.connect.html, exammples like
>> v.db.connect map=vectormap table=table field=1 key=cat driver=dbf
>> database='$GISDBASE/$LOCATION_NAME/$MAPSET/dbf'
>> should mention that all these are the default values...
H> Not clear what you mean.
OK, don't add options to examples if they are already the defaults.
|
|
Sat, May 7 2005
02:01:39
|
|
Status changed to open by _rt_system
|
|
Sat, Aug 20 2005
13:12:35
|
|
Area changed to grass6 by msieczka
|
|
Wed, Aug 31 2005
21:42:05
|
|
Mail sent by mneteler
|
|
>>> On v.db.connect.html, exammples like
>>> v.db.connect map=vectormap table=table field=1 key=cat driver=dbf
>>> database='$GISDBASE/$LOCATION_NAME/$MAPSET/dbf'
>>> should mention that all these are the default values...
>
>H> Not clear what you mean.
>
>OK, don't add options to examples if they are already the defaults.
Fixed. |
|
Wed, Aug 31 2005
21:42:09
|
|
Status changed to resolved by mneteler
|
|