GRASS GIS 7 Programmer's Manual  7.5.svn(2018)-r72636
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
vector/Vlib/rewind.c File Reference

Vector library - rewind data. More...

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

Go to the source code of this file.

Functions

int Vect_rewind (struct Map_info *Map)
 Rewind vector map to cause reads to start at beginning. More...
 

Detailed Description

Vector library - rewind data.

Vector library - rewind data (native format)

Higher level functions for reading/writing/manipulating vectors.

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

Author
Original author CERL, probably Dave Gerdes or Mike Higgins.
Update to GRASS 5.7 Radim Blazek and David D. Gray.
Level 3 by Martin Landa <landa.martin gmail.com>

Higher level functions for reading/writing/manipulating vectors.

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

Author
Original author CERL, probably Dave Gerdes or Mike Higgins.
Update to GRASS 5.7 Radim Blazek and David D. Gray.

Definition in file vector/Vlib/rewind.c.

Function Documentation

int Vect_rewind ( struct Map_info Map)

Rewind vector map to cause reads to start at beginning.

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

Definition at line 66 of file vector/Vlib/rewind.c.

References Map_info::format, G_debug(), Map_info::level, Map_info::name, and VECT_OPEN.

Referenced by P_estimate_splinestep(), P_Read_Vector_Region_Map(), Vect__open_old(), Vect_build_nat(), Vect_copy_map_lines_field(), Vect_get_map_box1(), and Vect_write_ascii().