GRASS GIS 8 Programmer's Manual
8.5.0dev(2024)-36359e2344
|
Vector library - rewind data (PostGIS layers) More...
#include <grass/vector.h>
#include <grass/glocale.h>
#include "local_proto.h"
#include "pg_local_proto.h"
Go to the source code of this file.
Functions | |
int | V1_rewind_pg (struct Map_info *Map) |
Rewind vector map (PostGIS layer) to cause reads to start at beginning (level 1) More... | |
int | V2_rewind_pg (struct Map_info *Map) |
Rewind vector map (PostGIS layer) to cause reads to start at beginning on topological level (level 2) More... | |
Vector library - rewind data (PostGIS layers)
Higher level functions for reading/writing/manipulating vectors.
(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 rewind_pg.c.
int V1_rewind_pg | ( | struct Map_info * | Map | ) |
Rewind vector map (PostGIS layer) to cause reads to start at beginning (level 1)
Map | pointer to Map_info structure |
Definition at line 34 of file rewind_pg.c.
References _, Format_info_pg::cache, Format_info_cache::ctype, Format_info_cache::fid, Map_info::fInfo, G_debug(), G_fatal_error(), Format_info_cache::lines_next, Format_info_cache::lines_num, Map_info::name, Format_info_pg::next_line, Format_info::pg, and Vect__close_cursor_pg().
Referenced by V2_rewind_pg().
int V2_rewind_pg | ( | struct Map_info * | Map | ) |
Rewind vector map (PostGIS layer) to cause reads to start at beginning on topological level (level 2)
Map | pointer to Map_info structure |
Definition at line 70 of file rewind_pg.c.
References _, G_debug(), G_fatal_error(), Map_info::name, Map_info::next_line, and V1_rewind_pg().