|
GRASS GIS 8 Programmer's Manual 8.3.2(2024)-exported
|
OGSF library - loading vector sets (lower level functions) More...
#include <stdlib.h>#include <grass/gis.h>#include <grass/colors.h>#include <grass/raster.h>#include <grass/vector.h>#include <grass/dbmi.h>#include <grass/glocale.h>#include <grass/ogsf.h>
Go to the source code of this file.
Functions | |
| geoline * | Gv_load_vect (const char *grassname, int *nlines) |
| Load vector map to memory. | |
| void | sub_Vectmem (int minus) |
| Tracking memory. | |
| int | Gv_load_vect_thematic (geovect *gv, struct Colors *colors) |
| Load styles for geolines based on thematic mapping. | |
OGSF library - loading vector sets (lower level functions)
GRASS OpenGL gsurf OGSF Library
(C) 1999-2008, 2011 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 gv3.c.
| geoline * Gv_load_vect | ( | const char * | grassname, |
| int * | nlines ) |
Load vector map to memory.
The other alternative may be to load to a tmp file
| grassname | vector map name | |
| [out] | number | of loaded features |
Definition at line 47 of file gv3.c.
References G_debug(), G_find_vector2(), G_free(), G_fully_qualified_name(), G_get_set_window(), G_message(), G_warning(), GS_v3cross(), NULL, X, and Y.
Referenced by GV_load_vector().
| int Gv_load_vect_thematic | ( | geovect * | gv, |
| struct Colors * | colors ) |
Load styles for geolines based on thematic mapping.
| gv | pointer to geovect structure |
| colors | pointer to Colors structure or NULL |
Definition at line 319 of file gv3.c.
References BLU_MASK, driver, G_fatal_error(), G_find_vector2(), G_fully_qualified_name(), G_message(), G_str_to_color(), G_warning(), G_zero(), GRN_MASK, and RED_MASK.
Referenced by GV_set_style_thematic().
| void sub_Vectmem | ( | int | minus | ) |
Tracking memory.
| minus | mimus number |
Definition at line 298 of file gv3.c.
References G_debug().
Referenced by gv_free_vectmem().