|
GRASS 8 Programmer's Manual 8.6.0dev(2026)-ddeab64dbf
|
Vector library - Close map (OGR) More...
#include <stdlib.h>#include <grass/vector.h>#include <grass/glocale.h>#include <ogr_api.h>#include "local_proto.h"
Go to the source code of this file.
Functions | |
| int | V1_close_ogr (struct Map_info *Map) |
| Close vector map (OGR dsn & layer) on level 1. | |
| int | V2_close_ogr (struct Map_info *Map) |
| Close vector map on topological level (write out fidx file) | |
Vector library - Close map (OGR)
Higher level functions for reading/writing/manipulating vectors.
(C) 2001-2009, 2012 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 close_ogr.c.
Close vector map (OGR dsn & layer) on level 1.
| Map | pointer to Map_info structure |
Definition at line 33 of file close_ogr.c.
References db_close_database_shutdown_driver(), G_debug(), G_find_file2(), G_free(), G_free_tokens(), G_mapset(), GV_FORMAT_OGR_DIRECT, GV_MODE_RW, GV_MODE_WRITE, AMI_STREAM< T >::name(), Vect__free_cache(), Vect__write_head(), VECT_OPEN, and Vect_save_frmt().
Close vector map on topological level (write out fidx file)
| Map | pointer to Map_info structure |
Definition at line 83 of file close_ogr.c.
References _, G_debug(), G_warning(), AMI_STREAM< T >::name(), Vect__free_offset(), VECT_OPEN, and Vect_save_fidx().
Referenced by Vect_close().