GRASS GIS 8 Programmer's Manual
8.5.0dev(2024)-36359e2344
|
Vector library - init header of vector maps. More...
Go to the source code of this file.
Functions | |
void | Vect__init_head (struct Map_info *Map) |
Initialize Map_info head structure (dig_head) More... | |
int | Vect_copy_head_data (struct Map_info *from, struct Map_info *to) |
Copy header data from one to another map. More... | |
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.
(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.
Definition in file init_head.c.
void Vect__init_head | ( | struct Map_info * | Map | ) |
Initialize Map_info head structure (dig_head)
[in,out] | Map | pointer to Map_info structure |
Definition at line 29 of file init_head.c.
References FALSE, G_date(), G_whoami(), G_zero(), Map_info::head, Map_info::plus, Plus_head::release_support, Plus_head::Spidx_built, Plus_head::update_cidx, Vect_set_comment(), Vect_set_date(), Vect_set_map_date(), Vect_set_map_name(), Vect_set_organization(), Vect_set_person(), Vect_set_proj(), Vect_set_scale(), Vect_set_thresh(), and Vect_set_zone().
Referenced by Vect__read_head().
Copy header data from one to another map.
from | target vector map | |
[out] | to | destination vector map |
Definition at line 77 of file init_head.c.
References Vect_get_comment(), Vect_get_date(), Vect_get_map_date(), Vect_get_map_name(), Vect_get_organization(), Vect_get_person(), Vect_get_scale(), Vect_get_thresh(), Vect_get_zone(), Vect_set_comment(), Vect_set_date(), Vect_set_map_date(), Vect_set_map_name(), Vect_set_organization(), Vect_set_person(), Vect_set_scale(), Vect_set_thresh(), and Vect_set_zone().
Referenced by Vect_close().