#include <stdlib.h>#include <string.h>#include <grass/gis.h>#include <grass/Vect.h>#include <grass/glocale.h>

Go to the source code of this file.
Functions | |
| int | Vect_print_header (struct Map_info *Map) |
| print vector map header | |
| int | Vect__write_head (struct Map_info *Map) |
| int | Vect__read_head (struct Map_info *Map) |
| char * | Vect_get_name (struct Map_info *Map) |
| get map name | |
| char * | Vect_get_mapset (struct Map_info *Map) |
| get mapset name | |
| char * | Vect_get_full_name (struct Map_info *Map) |
| get full name | |
| int | Vect_is_3d (struct Map_info *Map) |
| check if vector map is 3D (with z) | |
| int | Vect_set_organization (struct Map_info *Map, char *str) |
| set organization string in map header | |
| char * | Vect_get_organization (struct Map_info *Map) |
| get organization string from map header | |
| int | Vect_set_date (struct Map_info *Map, char *str) |
| set date of digitization string in map header | |
| char * | Vect_get_date (struct Map_info *Map) |
| get date of digitization string from map header | |
| int | Vect_set_person (struct Map_info *Map, char *str) |
| set user name string who digitized the map in map header | |
| char * | Vect_get_person (struct Map_info *Map) |
| get user name string who digitized the map from map header | |
| int | Vect_set_map_name (struct Map_info *Map, char *str) |
| set map name string in map header | |
| char * | Vect_get_map_name (struct Map_info *Map) |
| get map name string in map header | |
| int | Vect_set_map_date (struct Map_info *Map, char *str) |
| set date string when the source map was originally produced in map header | |
| char * | Vect_get_map_date (struct Map_info *Map) |
| get date string when the source map was originally produced in map header | |
| int | Vect_set_scale (struct Map_info *Map, int scale) |
| set map scale in map header | |
| int | Vect_get_scale (struct Map_info *Map) |
| get map scale from map header | |
| int | Vect_set_comment (struct Map_info *Map, char *str) |
| set comment or other info string in map header | |
| char * | Vect_get_comment (struct Map_info *Map) |
| get comment or other info string from map header | |
| int | Vect_set_zone (struct Map_info *Map, int zone) |
| set projection zone in map header | |
| int | Vect_get_zone (struct Map_info *Map) |
| get projection zone from map header | |
| int | Vect_get_proj (struct Map_info *Map) |
| get projection from map header | |
| char * | Vect_get_proj_name (struct Map_info *Map) |
| query cartographic projection name of vector map | |
| int | Vect_set_thresh (struct Map_info *Map, double thresh) |
| set threshold used for digitization in map header | |
| double | Vect_get_thresh (struct Map_info *Map) |
| int Vect__read_head | ( | struct Map_info * | Map | ) |
Definition at line 84 of file header.c.
References 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__open_old().
| int Vect__write_head | ( | struct Map_info * | Map | ) |
Definition at line 51 of file header.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(), and Vect_get_zone().
Referenced by V1_close_nat(), and V1_open_new_nat().
| char * Vect_get_comment | ( | struct Map_info * | Map | ) |
get comment or other info string from map header
| Map_info | structure |
Definition at line 383 of file header.c.
Referenced by Vect__write_head(), and Vect_copy_head_data().
| char * Vect_get_date | ( | struct Map_info * | Map | ) |
get date of digitization string from map header
| Map_info | structure |
Definition at line 254 of file header.c.
Referenced by Vect__write_head(), and Vect_copy_head_data().
| char * Vect_get_full_name | ( | struct Map_info * | Map | ) |
get full name
| Map_info | structure |
Definition at line 184 of file header.c.
Referenced by Vect__open_old(), Vect_close(), and Vect_open_new().
| char * Vect_get_map_date | ( | struct Map_info * | Map | ) |
get date string when the source map was originally produced in map header
| Map_info | structure |
Definition at line 332 of file header.c.
Referenced by Vect__write_head(), Vect_copy_head_data(), and Vect_print_header().
| char * Vect_get_map_name | ( | struct Map_info * | Map | ) |
get map name string in map header
| Map_info | structure |
Definition at line 306 of file header.c.
Referenced by Vect__write_head(), Vect_copy_head_data(), and Vect_print_header().
| char * Vect_get_mapset | ( | struct Map_info * | Map | ) |
| char * Vect_get_name | ( | struct Map_info * | Map | ) |
| char * Vect_get_organization | ( | struct Map_info * | Map | ) |
get organization string from map header
| Map_info | structure |
Definition at line 226 of file header.c.
Referenced by Vect__write_head(), Vect_copy_head_data(), and Vect_print_header().
| char * Vect_get_person | ( | struct Map_info * | Map | ) |
get user name string who digitized the map from map header
| Map_info | structure |
Definition at line 280 of file header.c.
Referenced by Vect__write_head(), and Vect_copy_head_data().
| int Vect_get_proj | ( | struct Map_info * | Map | ) |
get projection from map header
| Map_info | structure |
Definition at line 425 of file header.c.
Referenced by Vect_get_proj_name().
| char * Vect_get_proj_name | ( | struct Map_info * | Map | ) |
query cartographic projection name of vector map
Returns a pointer to a string which is a printable name for projection code proj (as returned by Vect_get_proj()). Returns NULL if proj is not a valid projection.
| proj |
Definition at line 443 of file header.c.
References Vect_get_proj().
| int Vect_get_scale | ( | struct Map_info * | Map | ) |
get map scale from map header
| Map_info | structure |
Definition at line 357 of file header.c.
Referenced by Vect__write_head(), Vect_copy_head_data(), and Vect_print_header().
| double Vect_get_thresh | ( | struct Map_info * | Map | ) |
Definition at line 484 of file header.c.
Referenced by Vect__write_head(), and Vect_copy_head_data().
| double Vect_get_zone | ( | struct Map_info * | Map | ) |
get projection zone from map header
get threshold used for digitization from map header
| Map_info | structure |
| Map_info | structure |
Definition at line 409 of file header.c.
Referenced by Vect__write_head(), and Vect_copy_head_data().
| int Vect_is_3d | ( | struct Map_info * | Map | ) |
check if vector map is 3D (with z)
| Map_info | structure |
Definition at line 200 of file header.c.
Referenced by Vect_break_lines().
| int Vect_print_header | ( | struct Map_info * | Map | ) |
print vector map header
| Map_info | structure |
Definition at line 35 of file header.c.
References Vect_get_map_date(), Vect_get_map_name(), Vect_get_organization(), and Vect_get_scale().
| int Vect_set_comment | ( | struct Map_info * | Map, | |
| char * | str | |||
| ) |
set comment or other info string in map header
| Map_info | structure, comment or other info string |
Definition at line 369 of file header.c.
Referenced by Vect__init_head(), Vect__read_head(), and Vect_copy_head_data().
| int Vect_set_date | ( | struct Map_info * | Map, | |
| char * | str | |||
| ) |
set date of digitization string in map header
| Map_info | structure, date of digitization string |
Definition at line 239 of file header.c.
Referenced by Vect__init_head(), Vect__read_head(), and Vect_copy_head_data().
| int Vect_set_map_date | ( | struct Map_info * | Map, | |
| char * | str | |||
| ) |
set date string when the source map was originally produced in map header
| Map_info | structure, date when the source map was originally produced string |
Definition at line 318 of file header.c.
Referenced by Vect__init_head(), Vect__read_head(), and Vect_copy_head_data().
| int Vect_set_map_name | ( | struct Map_info * | Map, | |
| char * | str | |||
| ) |
set map name string in map header
| Map_info | structure, map name string |
Definition at line 292 of file header.c.
Referenced by Vect__init_head(), Vect__read_head(), and Vect_copy_head_data().
| int Vect_set_organization | ( | struct Map_info * | Map, | |
| char * | str | |||
| ) |
set organization string in map header
| Map_info | structure, organization string |
Definition at line 212 of file header.c.
Referenced by Vect__init_head(), Vect__read_head(), and Vect_copy_head_data().
| int Vect_set_person | ( | struct Map_info * | Map, | |
| char * | str | |||
| ) |
set user name string who digitized the map in map header
| Map_info | structure, user name string |
Definition at line 266 of file header.c.
Referenced by Vect__init_head(), Vect__read_head(), and Vect_copy_head_data().
| int Vect_set_scale | ( | struct Map_info * | Map, | |
| int | scale | |||
| ) |
set map scale in map header
| Map_info | structure, map scale |
Definition at line 344 of file header.c.
Referenced by Vect__init_head(), Vect__read_head(), and Vect_copy_head_data().
| int Vect_set_thresh | ( | struct Map_info * | Map, | |
| double | thresh | |||
| ) |
set threshold used for digitization in map header
| Map_info | structure, threshold used for digitization |
Definition at line 470 of file header.c.
Referenced by Vect__init_head(), Vect__read_head(), and Vect_copy_head_data().
| int Vect_set_zone | ( | struct Map_info * | Map, | |
| int | zone | |||
| ) |
set projection zone in map header
| Map_info | structure, projection zone |
Definition at line 395 of file header.c.
Referenced by Vect__init_head(), Vect__read_head(), and Vect_copy_head_data().
1.5.5