GRASS GIS 7 Programmer's Manual  7.9.dev(2021)-e5379bbd7
level.c File Reference

Vector library - level info. More...

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

Go to the source code of this file.

Functions

int Vect_level (const struct Map_info *Map)
 Returns level that Map is opened at. More...
 

Detailed Description

Vector library - level info.

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

Function Documentation

◆ Vect_level()

int Vect_level ( const struct Map_info Map)

Returns level that Map is opened at.

  • 1: no topology
  • 2: topology support
Parameters
Mapvector map
Returns
open level
-1 on error

Definition at line 29 of file level.c.

References _, G_warning(), Map_info::level, Map_info::open, VECT_CLOSED_CODE, and VECT_OPEN_CODE.

Referenced by Vect_get_map_box().