GRASS 8 Programmer's Manual 8.6.0dev(2026)-0f6a7341fc
Loading...
Searching...
No Matches
init_head.c File Reference

Vector library - init header of vector maps. More...

#include <string.h>
#include <grass/vector.h>
Include dependency graph for init_head.c:

Go to the source code of this file.

Functions

void Vect__init_head (struct Map_info *Map)
 Initialize Map_info head structure (dig_head)
 
int Vect_copy_head_data (struct Map_info *from, struct Map_info *to)
 Copy header data from one to another map.
 

Detailed Description

Vector library - init header of vector maps.

Higher level functions for reading/writing/manipulating vectors.

Initialize Head structure. To make sure that we are not writing out garbage to a file.

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.
Various updates by Martin Landa <landa.martin gmail.com>, 2009

Definition in file init_head.c.

Function Documentation

◆ Vect__init_head()

void Vect__init_head ( struct Map_info Map)

◆ Vect_copy_head_data()

int Vect_copy_head_data ( struct Map_info from,
struct Map_info to 
)