[GRASS-user] replacing cat values of a vector map with another

hello

Although I look at v.catgegory, I am still confused of forming cat values according
to the values I choose.
How can I replace cat values of a vector map with another ?

regards

--
Ahmet Temiz

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

temiz wrote:

How can I replace cat values of a vector map with another ?

v.reclass

Maciek

Hi,
I would like to add this to v.edit something like

v.edit map=soils cat=10 coords=5000,4000

set cat of vector feature on coordinates 5000,4000 to 10

what do you think?

Jachym

On Mon, Dec 25, 2006 at 02:29:09PM +0100, Maciej Sieczka wrote:

temiz wrote:
> How can I replace cat values of a vector map with another ?

v.reclass

Maciek

_______________________________________________
grassuser mailing list
grassuser@grass.itc.it
http://grass.itc.it/mailman/listinfo/grassuser

--
Jachym Cepicky
e-mail: jachym.cepicky@centrum.cz
URL: http://les-ejk.cz
GPG: http://www.les-ejk.cz/pgp/jachym_cepicky-gpg.pub
-----------------------------------------
OFFICE:
Department of Geoinformation Technologies
Zemedelska 3
613 00, Brno
Czech Republick
e-mail: xcepicky@node.mendelu.cz
URL: http://mapserver.mendelu.cz
Tel.: +420 545 134 514

Jachym Cepicky wrote:

Hi,
I would like to add this to v.edit something like

v.edit map=soils cat=10 coords=5000,4000

set cat of vector feature on coordinates 5000,4000 to 10

what do you think?

Not sure. How will this work for lines/boundaries? Would one need to
specify line's vertex coordinates? In crossing lines and common
boundaries there are shared vertices (nodes) - what then?

What with points and lines over areas? Or would only the centroid
location = area feature location?

Thanks for developing v.edit. It's a power tool.

Cheers,
Maciek

On Tue, Jan 02, 2007 at 05:08:49PM +0100, Maciej Sieczka wrote:

Jachym Cepicky wrote:
> Hi,
> I would like to add this to v.edit something like
>
> v.edit map=soils cat=10 coords=5000,4000
>
> set cat of vector feature on coordinates 5000,4000 to 10
>
> what do you think?

Not sure. How will this work for lines/boundaries? Would one need to
specify line's vertex coordinates? In crossing lines and common
boundaries there are shared vertices (nodes) - what then?

always the first nearest feature (for coords) or all found features (for
polygon and bbox selecting methods) will obtain desired category. no
matter, if it is line or boundary.

What with points and lines over areas? Or would only the centroid
location = area feature location?

v.edit does not work with "areas". it works only with "basic" vector
features like points, centroids, lines and boudaries. areas are build
from boundaries and centroids, so one can set new category number
either for boundaries or to centroid

maybe I'll add option 'type' to v.edit, so one could specify prefered
vector feature to be selected and edited

Thanks for developing v.edit. It's a power tool.

I just hope it works like it should and that other people understand the
concept of this tool.

Cheers,
Maciek

Jachym

--
Jachym Cepicky
e-mail: jachym.cepicky@centrum.cz
URL: http://les-ejk.cz
GPG: http://www.les-ejk.cz/pgp/jachym_cepicky-gpg.pub
-----------------------------------------
OFFICE:
Department of Geoinformation Technologies
Zemedelska 3
613 00, Brno
Czech Republick
e-mail: xcepicky@node.mendelu.cz
URL: http://mapserver.mendelu.cz
Tel.: +420 545 134 514