GRASS 8 Programmer's Manual 8.6.0dev(2026)-745b61fbf6
Loading...
Searching...
No Matches
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 (struct Map_info *Map)
 Returns level that Map is opened at.
 

Detailed Description

Vector library - level info.

SPDX-FileCopyrightText: 2001-2009 GRASS Development Team SPDX-License-Identifier: GPL-2.0-or-later

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 ( 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 27 of file level.c.

References _, G_warning(), VECT_CLOSED_CODE, and VECT_OPEN_CODE.

Referenced by Vect_copy_map_lines_field(), Vect_get_map_box(), and Vect_write_ascii().