[GRASS-git] [OSGeo/grass] 3fbda3: v.random: do not transfer cat from area if attribu...
Māris Nartišs
noreply at github.com
Mon Oct 17 13:31:40 PDT 2022
Branch: refs/heads/releasebranch_8_2
Home: https://github.com/OSGeo/grass
Commit: 3fbda3e0a1dd694080a893f9da0a38026f3c781f
https://github.com/OSGeo/grass/commit/3fbda3e0a1dd694080a893f9da0a38026f3c781f
Author: Māris Nartišs <maris.gis at gmail.com>
Date: 2022-10-17 (Mon, 17 Oct 2022)
Changed paths:
M vector/v.random/main.c
Log Message:
-----------
v.random: do not transfer cat from area if attributes are coppied too (#2537)
Current code creates two cat entries for each point on the same level -
one from area point is in and one matching new entry in the database.
As entries in db have new cat values, old cat value points to a random
or non-existing entry in the db thus causing a mess.
Fixes #2475.
More information about the grass-commit
mailing list