GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
Vector library - clean geometry (bridges) More...
#include <stdlib.h>
#include <grass/gis.h>
#include <grass/Vect.h>
#include <grass/glocale.h>
Go to the source code of this file.
Functions | |
void | Vect_remove_bridges (struct Map_info *Map, struct Map_info *Err) |
Remove bridges from vector map. More... | |
void | Vect_chtype_bridges (struct Map_info *Map, struct Map_info *Err) |
Change type of bridges in vector map. More... | |
Vector library - clean geometry (bridges)
Higher level functions for reading/writing/manipulating vectors.
(C) 2001-2008 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 | ||
) |
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 |
void Vect_remove_bridges | ( | struct Map_info * | Map, |
struct Map_info * | Err | ||
) |
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 |