GRASS 8 Programmer's Manual 8.6.0dev(2026)-1d1e47ad9d
Loading...
Searching...
No Matches
rewind_ogr.c File Reference

Vector library - rewind data (OGR) More...

#include <grass/vector.h>
#include <grass/glocale.h>
#include <ogr_api.h>
Include dependency graph for rewind_ogr.c:

Go to the source code of this file.

Functions

int V1_rewind_ogr (struct Map_info *Map)
 Rewind vector map (OGR layer) to cause reads to start at beginning (level 1)
 
int V2_rewind_ogr (struct Map_info *Map)
 Rewind vector map (OGR layer) to cause reads to start at beginning on topological level (level 2)
 

Detailed Description

Vector library - rewind data (OGR)

Higher level functions for reading/writing/manipulating vectors.

(C) 2001-2009, 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.

Author
Radim Blazek, Piero Cavalieri

Definition in file rewind_ogr.c.

Function Documentation

◆ V1_rewind_ogr()

int V1_rewind_ogr ( struct Map_info Map)

Rewind vector map (OGR layer) to cause reads to start at beginning (level 1)

Parameters
Mappointer to Map_info structure
Returns
0 on success
-1 on error

Definition at line 30 of file rewind_ogr.c.

References G_debug(), and AMI_STREAM< T >::name().

Referenced by V2_rewind_ogr().

◆ V2_rewind_ogr()

int V2_rewind_ogr ( struct Map_info Map)

Rewind vector map (OGR layer) to cause reads to start at beginning on topological level (level 2)

Parameters
Mappointer to Map_info structure
Returns
0 on success
-1 on error

Definition at line 54 of file rewind_ogr.c.

References G_debug(), AMI_STREAM< T >::name(), and V1_rewind_ogr().