GRASS GIS 8 Programmer's Manual
8.5.0dev(2024)-36359e2344
|
Vector library - reading features - simple feature access. More...
Go to the source code of this file.
Functions | |
int | V2_read_line_sfa (struct Map_info *Map, struct line_pnts *line_p, struct line_cats *line_c, int line) |
Reads feature from OGR/PostGIS layer on topological level. More... | |
Vector library - reading features - simple feature access.
Higher level functions for reading/writing/manipulating vectors.
See read_ogr.c (OGR interface) and read_pg.c (PostGIS interface) for implementation issues.
(C) 2011-2012 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 read_sfa.c.
int V2_read_line_sfa | ( | struct Map_info * | Map, |
struct line_pnts * | line_p, | ||
struct line_cats * | line_c, | ||
int | line | ||
) |
Reads feature from OGR/PostGIS layer on topological level.
This function implements random access on level 2.
Note: Topology must be built at level >= GV_BUILD_BASE
Map | pointer to Map_info structure | |
[out] | line_p | container used to store line points within (pointer to line_pnts struct) |
[out] | line_c | container used to store line categories within (pointer to line_cats struct) |
line | feature id (starts at 1) |
Definition at line 40 of file read_sfa.c.