GRASS GIS 8 Programmer's Manual
8.5.0dev(2024)-36359e2344
|
Vector library - clean geometry (bridges) More...
Go to the source code of this file.
Functions | |
void | Vect_remove_bridges (struct Map_info *Map, struct Map_info *Err, int *lines_removed, int *bridges_removed) |
Remove bridges from vector map. More... | |
void | Vect_chtype_bridges (struct Map_info *Map, struct Map_info *Err, int *lines_changed, int *bridges_changed) |
Change type of bridges in vector map. More... | |
Vector library - clean geometry (bridges)
Higher level functions for reading/writing/manipulating vectors.
(C) 2001-2009 by the GRASS Development Team
This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.
Definition in file bridges.c.
void Vect_chtype_bridges | ( | struct Map_info * | Map, |
struct Map_info * | Err, | ||
int * | lines_changed, | ||
int * | bridges_changed | ||
) |
Change type of bridges in vector map.
Change the type of bridges (type boundary) connecting areas to islands or 2 islands. Islands and areas must be already clean, i.e. without dangles. Bridge may be formed by more lines. Optionally changed bridges are written to error map. Input map must be opened on level 2 for update at least on level GV_BUILD_BASE.
Map | input map where bridges are changed |
Err | vector map where changed bridges are written or NULL |
lines_changed | number of lines changed |
bridges_changed | Err number of bridges changed |
void Vect_remove_bridges | ( | struct Map_info * | Map, |
struct Map_info * | Err, | ||
int * | lines_removed, | ||
int * | bridges_removed | ||
) |
Remove bridges from vector map.
Remove bridges (type boundary) connecting areas to islands or 2 islands. Islands and areas must be already clean, i.e. without dangles. Bridge may be formed by more lines. Optionally deleted bridges are written to error map. Input map must be opened on level 2 for update at least on level GV_BUILD_BASE
Map | input map where bridges are deleted |
Err | vector map where deleted bridges are written or NULL |
lines_removed | number of lines removed |
bridges_removed | Err number of bridges removed |