GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
Vector library - open vector map (OGR format) More...
#include <unistd.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <grass/Vect.h>
#include <grass/gis.h>
#include <grass/glocale.h>
#include <ogr_api.h>
Go to the source code of this file.
Functions | |
int | V1_open_old_ogr (struct Map_info *Map, int update) |
Open existing vector map. More... | |
int | V2_open_old_ogr (struct Map_info *Map) |
Open OGR specific level 2 files (feature index) More... | |
Vector library - open vector map (OGR format)
Higher level functions for reading/writing/manipulating vectors.
(C) 2001-2008 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 open_ogr.c.
Open existing vector map.
Map->name and Map->mapset must be set before.
Map | pointer to vector map |
update | non-zero for write mode, otherwise read-only (write mode is currently not supported) |
Definition at line 45 of file open_ogr.c.
References FALSE, G_debug(), G_fatal_error(), and NULL.
int V2_open_old_ogr | ( | struct Map_info * | Map | ) |
Open OGR specific level 2 files (feature index)
Map | pointer to vector map |
Definition at line 124 of file open_ogr.c.
References buf, dig__fread_port_C(), dig__fread_port_I(), dig__fread_port_L(), dig_file_init(), dig_init_portable(), dig_set_cur_port(), fclose(), G_debug(), G_fatal_error(), G_fopen_old(), G_warning(), NULL, and sprintf().
Referenced by Vect__open_old().