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

Jachym Cepicky jachym.cepicky at centrum.cz
Tue Jan 2 11:54:22 EST 2007


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 at 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 at node.mendelu.cz
URL:    http://mapserver.mendelu.cz
Tel.:   +420 545 134 514
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.osgeo.org/pipermail/grass-user/attachments/20070102/02f9a09e/attachment.bin


More information about the grass-user mailing list