v.rmdup

NAME

v.rmdup - Remove duplicate items GRASS vector file. (GRASS Vector Program)

SYNOPSIS

v.rmdup
v.rmdup help
v.rmdup vectname [threshnumber]

DESCRIPTION

v.rmdup removes duplicate lines, areas, and points from a binary vector file (vectname). Duplicate may be defined as exact (less than 1.12e-16 for IEEE double precision), or defined with a threshold (threshnumber).

Parameters:

vectname
Name of a binary vector file
threshnumber
Threshold for defining duplicate lines, areas, and points.
v.rmdup overwrites the existing file, so it may be a good idea to save a backup using g.copy. The search technique used by v.rmdup is not extremely sophisticated and may take a long time for large files. Instead, only two sets of lines, areas, or points are active at any one time (so it is conservative with memory).

SEE ALSO

g.copy and iszero(1)

BUGS

Please send all bug fixes and comments to the author.

AUTHOR

James Darrell McCauley, Purdue University