by GRASS Development Team (https://grass.osgeo.org)
List of vector library data structures
All data structure used by the vector library are defined in include/vect/dig_structs.h. See the lists below.
Major
Supporting
Format-related
DB-related
Geometry-related
Category-related
Topology-related
Misc
Obsolete
List of vector library functions
The vector library provides the GRASS programmer with routines to process vector data. The routines in the vector library are presented in functional groupings, rather than in alphabetical order. The order of presentation will, it is hoped, provide better understanding of how the library is to be used, as well as show the interrelationships among the various routines. Note that a good way to understand how to use these routines is to look at the source code for GRASS modules which use them.
Note: All routines start with one of following prefixes Vect_, V1_, V2_ or dig_. To avoid name conflicts, programmers should not create variables or routines in their own modules which use this prefix.
The Vect_*() functions are the programmer's API for GRASS vector programming. The programmer should use only routines with this prefix.
Vector area functions
Vector array functions
Vector bounding box functions
Vector break lines functions
Vector break polygons functions
Vector bridges functions
Vector buffer functions
Vector build functions
Main build functions
Native build functions
OGR build functions
Vector categories functions
Vector clean nodes functions
Vector close functions
Vector constraint functions
Vector dangles functions
Vector dbcolumns functions
Vector error functions
- Vect_get_fatal_error()
- Vect_set_fatal_error()
Vector layer (field) functions
(note: vector layer is historically called "field")
Vector find functions
Vector graph functions
Vector header functions
Vector history functions
Vector header functions
Vector intersection functions
Vector valid map name functions
Vector level functions
Vector topological (level 2) functions
Vector feature functions
Vector list functions
Vector map functions
Vector merge line functions
Vector network functions
Vector open functions
Vector overlay functions
Vector polygon functions
Vector read functions
Level 1 and 2
Level 2 only
Vector remove functions
Vector remove functions
Vector remove duplicates functions
Vector rewind functions
Vector select functions
Vector index functions
Vector spatial index functions
Vector category index functions
(note: vector layer is historically called "field")
Vector snap functions
Vector TIN functions
Vector type option functions
Vector delete functions
Level 2 only
Vector write functions
Level 1 and 2
Level 2 only
Vector ASCII functions
Vector Simple Feature Access API
Functions from GRASS Simple Feature API (in progress, incomplete).
Vector GEOS functions
Note: The functions are available only if GRASS is compiled with –with-geos
switch.
Vector PostgreSQL/PostGIS functions
Note: The functions are available only if GRASS is compiled with –with-postgres
switch.
(For internal use only)
- V1_open_old_pg(), V2_open_old_pg() called by Vect_open_old()
- V1_open_new_pg(), V2_open_new_pg() called by Vect_open_new()
- V1_rewind_pg(), V2_rewind_pg() called by Vect_rewind()
- V1_close_pg(), V2_close_pg() called by Vect_close()
- V1_read_line_pg(), V2_read_line_pg() called by Vect_read_line()
- V1_read_next_line_pg(), V2_read_next_line_pg() called by Vect_read_next_line()
- V1_delete_line_pg(), V2_delete_line_sfa() called by Vect_delete_line()
- V1_write_line_pg(), V2_write_line_pg() called by Vect_write_line()
- V1_rewrite_line_pg(), V2_rewrite_line_sfa() called by Vect_rewrite_line()
- V2_write_area_pg(), see
v.out.postgis
for implementation issues