Mon, Nov 8 2004
11:00:58
|
|
Request created by guest
|
|
Subject: Problem with v.category
Platform: GNU/Linux/i386
grass obtained from: CVS
grass binary for platform: Downloaded precompiled Binaries
GRASS Version: grass5.7.cvs-i686-pc-linux-gnu-23_10_200
I need to change the category value of several areas in order to query a DB,
and v.category is not working fine.
- I'm running version grass5.7.cvs-i686-pc-linux-gnu-23_10_2004, and I need to
change de category value of an area.
If I run this
v.category input="vec_area_3" output="vec_Area_34" type="boundary,centroid,area"
option="add" cat=4 field=1 step=1
only the value of boundary change, the value of Area is still 1
If I run this
v.category input="vec_area_3" output="vec_Area_34" type="area" option="add" cat=4
field=1 step=1
the value of area is still 1, nothing change
- I changed the version to grass5.7.cvs-i686-pc-linux-gnu-06_11_2004
and if i run
v.category input="vec_area_3" output="vec_Area_34" type="boundary,centroid,area"
option="add" cat=4 field=1 step=1
the vector vac_area_34 is not createad, nothing happen.
Ignacio |
|
Tue, Nov 9 2004
09:12:56
|
|
Mail sent by blazek@itc.it
|
|
Return-Path |
<blazek@itc.it>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
Message-ID |
<41907BFE.8050605@itc.it>
|
Date |
Tue, 09 Nov 2004 09:12:46 +0100
|
From |
Radim Blazek <blazek@itc.it>
|
User-Agent |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113
|
X-Accept-Language |
en-us, en
|
MIME-Version |
1.0
|
To |
Request Tracker <grass-bugs@intevation.de>
|
Cc |
grass5@grass.itc.it
|
Subject |
Re: [GRASS5] [bug #2685] (grass) Problem with v.category
|
References |
<20041108100058.63F93102C18@lists.intevation.de>
|
In-Reply-To |
<20041108100058.63F93102C18@lists.intevation.de>
|
Content-Type |
text/plain; charset=us-ascii; format=flowed
|
Content-Transfer-Encoding |
7bit
|
X-Spam-Status |
No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
|
X-Spam-Level |
|
v.category option=add can add a new category to elements without
category. You need v.reclass or v.category option=del + v.category
option=add
Radim
Request Tracker wrote:
> this bug's URL: http://intevation.de/rt/webrt?serial_num=2685
> -------------------------------------------------------------------------
>
> Subject: Problem with v.category
>
> Platform: GNU/Linux/i386
> grass obtained from: CVS
> grass binary for platform: Downloaded precompiled Binaries
> GRASS Version: grass5.7.cvs-i686-pc-linux-gnu-23_10_200
>
>
> I need to change the category value of several areas in order to query a DB,
and v.category is not working fine.
>
>
> - I'm running version grass5.7.cvs-i686-pc-linux-gnu-23_10_2004, and I need
to change de category value of an area.
> If I run this
> v.category input="vec_area_3" output="vec_Area_34" type="boundary,centroid,area"
option="add" cat=4 field=1 step=1
>
> only the value of boundary change, the value of Area is still 1
>
> If I run this
> v.category input="vec_area_3" output="vec_Area_34" type="area" option="add"
cat=4 field=1 step=1
> the value of area is still 1, nothing change
>
> - I changed the version to grass5.7.cvs-i686-pc-linux-gnu-06_11_2004
> and if i run
> v.category input="vec_area_3" output="vec_Area_34" type="boundary,centroid,area"
option="add" cat=4 field=1 step=1
>
> the vector vac_area_34 is not createad, nothing happen.
>
>
> Ignacio
>
> -------------------------------------------- Managed by Request Tracker
>
> _______________________________________________
> grass5 mailing list
> grass5@grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass5
|
|
Wed, Nov 24 2004
10:24:17
|
|
Mail sent by mneteler
|
|
Does the problem persist?
Markus |
|
Wed, Nov 24 2004
14:10:13
|
|
Comments added by guest
|
|
I solve the problem with the following commnad,
example to assing cat=3 to the first field
v.category input=dbCScr1_areas0 output=catdbCScr1_areas0 type=area option=sum
cat=3 field=1 step=3
I don't really know if this is correct, but work fine !
thanks for your reply,
and I´m sorry for my late response |
|
Thu, Dec 2 2004
14:04:19
|
|
Mail sent by guest
|
|
So I'll close it for now.
Markus |
|
Thu, Dec 2 2004
14:04:25
|
|
Status changed to resolved by mneteler
|
|