Opened 6 years ago

Last modified 6 years ago

#3524 closed defect

v.random restrict wrong categories assigned — at Version 1

Reported by: martinl Owned by: grass-dev@…
Priority: normal Milestone: 7.0.7
Component: Vector Version: svn-trunk
Keywords: v.random, restrict, cats Cc:
CPU: Unspecified Platform: Unspecified

Description (last modified by martinl)

G7:v.random together with restrict option assigns to points also categories of related area (centroid) if layer > 0. See example below

g.region vector=geology
v.random out=test n=1 --o restrict=geology layer=1
v.category test opt=print
1727/1

The assigned categories are sometimes wrong, see

Related area (centroid) of category 625, the point has wrongly assigned category 28.

Change History (2)

by martinl, 6 years ago

comment:1 by martinl, 6 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.