remove_duplicates.c File Reference

#include <stdlib.h>
#include <grass/gis.h>
#include <grass/Vect.h>

Include dependency graph for remove_duplicates.c:

Go to the source code of this file.

Functions

void Vect_remove_duplicates (struct Map_info *Map, int type, struct Map_info *Err, FILE *msgout)
 Remove duplicate lines from vector map.


Function Documentation

void Vect_remove_duplicates ( struct Map_info *  Map,
int  type,
struct Map_info *  Err,
FILE *  msgout 
)

Remove duplicate lines from vector map.

Remove duplicate lines of given types from vector map. Duplicate lines may be optionaly written to error map. Input map must be opened on level 2 for update. Categories are merged.

Parameters:
Map input map where duplicate lines will be deleted
type type of line to be delete
Err vector map where duplicate lines will be written or NULL
msgout file pointer where messages will be written or NULL
Returns:

Definition at line 35 of file remove_duplicates.c.

References Vect_cat_set(), Vect_delete_line(), Vect_get_num_lines(), Vect_line_alive(), Vect_line_box(), Vect_new_cats_struct(), Vect_new_line_struct(), Vect_new_list(), Vect_read_line(), Vect_rewrite_line(), Vect_select_lines_by_box(), and Vect_write_line().


Generated on Sun Apr 6 17:32:52 2008 for GRASS by  doxygen 1.5.5